mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-18 22:55:15 +08:00
use main.version rather than subpackage variables
This commit is contained in:
@@ -118,6 +118,11 @@ func GetAPIConnString() string {
|
||||
return conn
|
||||
}
|
||||
|
||||
// SetVersion - set version of netmaker
|
||||
func SetVersion(v string) {
|
||||
Version = v
|
||||
}
|
||||
|
||||
// GetVersion - version of netmaker
|
||||
func GetVersion() string {
|
||||
return Version
|
||||
|
Reference in New Issue
Block a user