Slide 10
Slide 10 text
Modular Monolith - Application
func main() {
app.Run(application)
}
func application(ctx context.Context, a *app.Application) error {
a.AddComponent("driver", driver.Component)
a.AddComponent("passenger", passenger.Component)
return a.Run(ctx)
}