Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppArgs ¶
type AppArgs struct {
Server *ServerCmd `arg:"subcommand:server" help:"Start the api server"`
ServerDocumentation *ServerDocumentationCmd `arg:"subcommand:server-docs" help:"Generate documentation for api server and start documentation server"`
Migration *Migration `arg:"subcommand:migration" help:"Migration utils"`
}
type Migration ¶
type Migration struct {
Create *MigrationCreate `arg:"subcommand:create" help:"Create migration"`
}
type MigrationCreate ¶
type MigrationCreate struct {
Name string `arg:"-n,--name" help:"Name of migration"`
}
type ServerCmd ¶
type ServerCmd struct {
Port string `arg:"-p,--port" help:"Port to listen on" default:"8080"`
}
type ServerDocumentationCmd ¶
Click to show internal directories.
Click to hide internal directories.