Merge pull request #11 from hobbyistlabs-coder/cleanup-deprecated-version-helpers-15454606920632394482
🧹 Remove deprecated version helper functions
This commit is contained in:
commit
99b7ebf8b2
1 changed files with 0 additions and 15 deletions
|
|
@ -30,20 +30,5 @@ func LoadConfig() (*config.Config, error) {
|
||||||
return config.LoadConfig(GetConfigPath())
|
return config.LoadConfig(GetConfigPath())
|
||||||
}
|
}
|
||||||
|
|
||||||
// FormatVersion returns the version string with optional git commit
|
|
||||||
// Deprecated: Use pkg/config.FormatVersion instead
|
|
||||||
func FormatVersion() string {
|
|
||||||
return config.FormatVersion()
|
|
||||||
}
|
|
||||||
|
|
||||||
// FormatBuildInfo returns build time and go version info
|
|
||||||
// Deprecated: Use pkg/config.FormatBuildInfo instead
|
|
||||||
func FormatBuildInfo() (string, string) {
|
|
||||||
return config.FormatBuildInfo()
|
|
||||||
}
|
|
||||||
|
|
||||||
// GetVersion returns the version string
|
|
||||||
// Deprecated: Use pkg/config.GetVersion instead
|
|
||||||
func GetVersion() string {
|
|
||||||
return config.GetVersion()
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue