Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Migrate = cli.Command{ Name: "migrate", Usage: "Migrate db", Action: func(appContext *cli.Context) error { migrateAction(appContext) return nil }, }
View Source
var Start = cli.Command{ Name: "start", Usage: "Khoi-dong-chuong-trinh", Flags: []cli.Flag{ cli.StringFlag{ Name: "port, p", Value: "8080", Usage: "Listen on port", EnvVar: "PORT", }, }, Action: func(appContext *cli.Context) error { startAction(appContext) return nil }, }
View Source
var Test = cli.Command{ Name: "test", Usage: "Test aplication", Flags: []cli.Flag{ cli.StringFlag{ Name: "port, p", Value: "8080", Usage: "Listen on a port", EnvVar: "PORT", }, }, Action: func(appContext *cli.Context) error { testAction(appContext) return nil }, }
Test is a definition of cli.Command used to start http server
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.