Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Release the git tag of the current build, used with -X version.Release=$(git describe --tags HEAD || git describe --all HEAD) Release = "0.0" // Build the git commit of the current build, used with -X version.Build=$(git rev-parse --short HEAD) Build = "00000" // Date the current datetime RFC like for the build, used with -X version.Date=$(date +%FT%T%z) Date = "2017-10-21T00:00:00+0200" // Package the current package name of the build directory, used with -X version.Package=$(basename $(pwd)) Package = "noname" )
Functions ¶
func GetAppId ¶
func GetAppId() string
GetAppId return string about package name, release and runtime info
func GetAuthor ¶
func GetAuthor() string
GetAuthor return string about author name and repository info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.