Skip to content

Instantly share code, notes, and snippets.

@bykof
Created February 18, 2020 09:54
Show Gist options
  • Save bykof/c42ac06372f6f615f7e9bbde7bb77e66 to your computer and use it in GitHub Desktop.
Save bykof/c42ac06372f6f615f7e9bbde7bb77e66 to your computer and use it in GitHub Desktop.
package main
import (
"dashboard/api"
"flamingo.me/dingo"
"flamingo.me/flamingo/v3"
"flamingo.me/flamingo/v3/core/requestlogger"
)
func main() {
flamingo.App(
[]dingo.Module{
new(requestlogger.Module),
new(api.Module), // <-- add Module of api package
},
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment