forked from mirror/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
370 B
23 lines
370 B
package autorest
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
const (
|
|
major = "7"
|
|
minor = "3"
|
|
patch = "0"
|
|
tag = ""
|
|
semVerFormat = "%s.%s.%s%s"
|
|
)
|
|
|
|
var version string
|
|
|
|
// Version returns the semantic version (see http://semver.org).
|
|
func Version() string {
|
|
if version == "" {
|
|
version = fmt.Sprintf(semVerFormat, major, minor, patch, tag)
|
|
}
|
|
return version
|
|
}
|
|
|