Documentation
¶
Overview ¶
Package global
Package global ¶
Package global
Index ¶
Constants ¶
View Source
const ( BeginYear = 2025 DefaultFilePermissions = 0644 DefaultDirectoryPermission = 0755 LogName = "MAIN" EnvNoLogs = "NO_LOGS" EnvConfigFilePath = "CONFIG_FILE_PATH" )
Variables ¶
Functions ¶
func CheckBoolEnv ¶
func CheckDurationEnv ¶
func CheckIntEnv ¶
func CheckStringEnv ¶
Types ¶
type CheckVersionResult ¶
type CheckVersionResult int
const ( AllMatch CheckVersionResult = iota MajorUnmatch MinorUnmatch PatchUnmatch )
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶
func (*Version) CheckVersion ¶
func (v *Version) CheckVersion(version *Version) CheckVersionResult
Click to show internal directories.
Click to hide internal directories.