Versions in this module Expand all Collapse all v1 v1.0.0 Dec 20, 2022 Changes in this version + const EnvironmentDevelopment + const EnvironmentProduction + var CurrentVersion = Version + var IsExtended = false + func BuildVersionString() string + func CompareVersion(version any) int + func GetDependencyList() []string + func GetDependencyListNonGo() []string + func GetExecEnviron(workDir string, cfg config.Provider, fs afero.Fs) []string + func GoMinorVersion() int + func IsRunningAsTest() bool + type Dependency struct + Owner *Dependency + Path string + Replace *Dependency + Time time.Time + Vendor bool + Version string + type Info struct + BuildDate string + CommitHash string + Environment string + GoVersion string + func NewInfo(environment string, deps []*Dependency) Info + func (i Info) Deps() []*Dependency + func (i Info) Generator() template.HTML + func (i Info) IsExtended() bool + func (i Info) IsProduction() bool + func (i Info) Version() VersionString + type Version struct + Major int + Minor int + PatchLevel int + Suffix string + func MustParseVersion(s string) Version + func ParseVersion(s string) (Version, error) + func (h Version) Compare(other any) int + func (v Version) Next() Version + func (v Version) NextPatchLevel(level int) Version + func (v Version) Prev() Version + func (v Version) ReleaseVersion() Version + func (v Version) String() string + func (v Version) Version() VersionString + type VersionString string + func (h VersionString) Compare(other any) int + func (h VersionString) Eq(other any) bool + func (h VersionString) String() string