Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ServiceName = unspecified CommitTag = unspecified CommitSHA = unspecified CommitBranch = unspecified OriginURL = unspecified BuildDate = unspecified )
This variables supposed to be bound during compilation using -ldflags
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct { Service string Tag string Commit string Branch string URL string Date time.Time // contains filtered or unexported fields }
Version represent git version structure
func NewVersion ¶
NewVersion create new girt Version instance
func (Version) IfSpecified ¶
IfSpecified check if version specified
Click to show internal directories.
Click to hide internal directories.