Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Buildstamp = "undef"
Buildstamp version number defined by the compiler: Reported to clients in response to {hi} message. For instance, to define the buildstamp as a timestamp of when the server was built add a flag to compiler command line:
-ldflags "-X github.com/flowline-io/flowbot/version.Buildstamp=`date -u '+%Y-%m-%dT%H:%M:%SZ'`"
Buildtags set it to git tag:
-ldflags "-X github.com/flowline-io/flowbot/version.Buildtags=`git describe --tags`"
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.