diff options
Diffstat (limited to 'weed/util/version/constants.go')
| -rw-r--r-- | weed/util/version/constants.go | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/weed/util/version/constants.go b/weed/util/version/constants.go new file mode 100644 index 000000000..5cf2dd738 --- /dev/null +++ b/weed/util/version/constants.go @@ -0,0 +1,20 @@ +package version + +import ( + "fmt" + "github.com/seaweedfs/seaweedfs/weed/util" +) + +const HttpStatusCancelled = 499 + +var ( + MAJOR_VERSION = int32(3) + MINOR_VERSION = int32(89) + VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION) + VERSION = util.SizeLimit + " " + VERSION_NUMBER + COMMIT = "" +) + +func Version() string { + return VERSION + " " + COMMIT +} |
