version

package
v0.0.0-...-78fecf6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Buildstamp = "undef"

Buildstamp version number defined by the compiler:

-ldflags "-X github.com/flowline-io/flowkit/version.Buildstamp=value_to_assign_to_buildstamp"

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/flowkit/version.Buildstamp=`date -u '+%Y-%m-%dT%H:%M:%SZ'`"
View Source
var Buildtags = "v1.0"

Buildtags set it to git tag:

-ldflags "-X github.com/flowline-io/flowkit/version.Buildtags=`git describe --tags`"

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL