Initial
This commit is contained in:
commit
3d7e638cc6
10 files changed
+117
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package version
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const VERSION = "1.0.0"
|
||||
|
||||
func GetGoversion() (ver string) {
|
||||
ver = runtime.Version()
|
||||
ver = strings.Replace(ver, "go", "", 1)
|
||||
return
|
||||
}
|
||||
Reference in new issue
Block a user