Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppName = "web" AppShortDesc = "web entry" AppLongDesc = "web entry is a gin web app" )
Variables ¶
View Source
var ( AppCmd = &cobra.Command{ Use: AppName, Short: AppShortDesc, Long: AppLongDesc, SilenceUsage: true, PreRun: func(cmd *cobra.Command, args []string) { log.Println("App preRun") initConfig() pkg.InitZapLogger() }, RunE: func(cmd *cobra.Command, args []string) error { return web.NewApp() }, } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.