| 32 | DebugPrintRoutes bool `help:"print routes to stdout on startup"` |
| 33 | LogHTTP bool `help:"log HTTP requests"` |
| 34 | } |
| 35 | |
| 36 | func (s *ServeCmd) Run(ctx *Context) error { |
| 37 | db, err := gorm.Open(ctx.Dialector, &ctx.Config) |
| 38 | if err != nil { |
| 39 | return err |
| 40 | } |
| 41 | |
| 42 | if err := configureDB(db); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected