Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Version is waterdrop current version Version = "v1.3.7" // Compiler is a convenient alias for runtime.Compiler. Compiler = runtime.Compiler )
Variables ¶
View Source
var ( // Name is meant to be injected with the binary's intended name, by means // of `go -ldflags` at build-time Name = unknownProperty // BuildBranch is meant to be injected with a string denoting the build branch // of the binary, by means of `go -ldflags` at build-time BuildBranch = unknownProperty // GoVersion is the version of the Go toolchain used to build the binary // (e.g. "go1.19.2") // It defaults to value of runtime.Version() if not explicitly overridden GoVersion = unknownProperty // GitCommit is the commit hash of the Git repository's HEAD at build-time GitCommit = unknownProperty // SDKGitCommit is the commit hash of the sdk Git repository's HEAD at build-time SDKGitCommit = unknownProperty // BuildDate is meant to be injected with a string denoting the build time // of the binary, by means of `go -ldflags` at build-time BuildDate = unknownProperty // BuildComments can be used to associate arbitrary extra information with // the binary, by means of injection via `go -ldflags` at build-time BuildComments = unknownProperty // Platform is a string in the form of "GOOS/GOARCH", e.g. "linux/amd64" Platform = unknownProperty )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.