Skip to content

HnH/onion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onion

var app = onion.New(
    context.Background(),
    onion.WithLogger(log),
    onion.WithContainer(di.NewContainer()),
    onion.WithProviders(cfg),
    onion.WithLayers(infrastructure.New(), domain.New(), application.New(), www.New()),
)

if err = app.Listen(); err != nil {
    log.Error().Err(err).Send()
    os.Exit(1)
}