projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
10666: Added version number to go sdk and go tools & services
[arvados.git]
/
sdk
/
go
/
version
/
version.go
1
package version
2
3
var (
4
// Version will get assigned the release number at compile time
5
Version string
6
)
7
8
// GetVersion returns the release number if it was assigned by the compiler
9
// or "dev" otherwise.
10
func GetVersion() string {
11
if Version != "" {
12
return Version
13
}
14
return "dev"
15
}