Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunAt time.Time
Functions ¶
func GetUserAgent ¶
func GetUserAgent() string
func IsLatestRelease ¶
IsLatestRelease queries github for the latest release in the project repo. If that release has a semver greater than the current release, it returns false and the new latest release semver. Otherwise, it returns true or error
Types ¶
type Build ¶
type Build struct { Version string `json:"version,omitempty"` GitSHA string `json:"git,omitempty"` BuildTime time.Time `json:"buildTime,omitempty"` TimeFallback string `json:"buildTimeFallback,omitempty"` GoInfo GoInfo `json:"go,omitempty"` RunAt *time.Time `json:"runAt,omitempty"` }
Build holds details about this build of the Ship binary
Click to show internal directories.
Click to hide internal directories.