mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +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