Slide 28
Slide 28 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("vehicle", passenger.Component)
return a.Run(ctx)
}