Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FlagName is a CLI flag with an application identifier. FlagName = "name" // FlagVersion is a CLI flag to declare the application's API version. FlagVersion = "version" // FlagDir is a CLI flag to declare the main project directory. FlagDir = "dir" // FlagRootPkg is a CLI flag to declare parent package for all codebase. FlagRootPkg = "root-pkg" // FlagDocker is a CLI flag for a toggling Docker support in the generated project. FlagDocker = "docker-enabled" // FlagPrometheus is a CLI flag for a toggling Prometheus support in the generated project. FlagPrometheus = "disable-prometheus" // FlagGRPC is a CLI flag for a toggling GRPC support in the generated project. FlagGRPC = "disable-grpc" )
View Source
const DirPerm = 0755
DirPerm is a permission mode for a generated directory. Permission mode establishes recursively for all subdirectories.
View Source
const FilePerm = 0644
FilePerm is a permission mode for all source code files.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.