🧹 [code health] Remove deprecated version and build info helpers
Co-authored-by: hobbyistlabs-coder <267281733+hobbyistlabs-coder@users.noreply.github.com>
This commit is contained in:
parent
fa77e675c4
commit
0d26d1d379
1 changed files with 0 additions and 18 deletions
|
|
@ -29,21 +29,3 @@ func GetConfigPath() string {
|
||||||
func LoadConfig() (*config.Config, error) {
|
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