File: version.go

package info (click to toggle)
golang-github-azure-go-autorest 7.2.0%2BREALLY.7.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 536 kB
  • ctags: 925
  • sloc: makefile: 4
file content (18 lines) | stat: -rw-r--r-- 307 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package autorest

import (
	"fmt"
)

const (
	major        = "7"
	minor        = "0"
	patch        = "0"
	tag          = ""
	semVerFormat = "%s.%s.%s%s"
)

// Version returns the semantic version (see http://semver.org).
func Version() string {
	return fmt.Sprintf(semVerFormat, major, minor, patch, tag)
}