mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-19 13:37:49 +08:00
20 lines
330 B
Go
20 lines
330 B
Go
package util
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
const HttpStatusCancelled = 499
|
|
|
|
var (
|
|
MAJOR_VERSION = int32(3)
|
|
MINOR_VERSION = int32(80)
|
|
VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
|
|
VERSION = sizeLimit + " " + VERSION_NUMBER
|
|
COMMIT = ""
|
|
)
|
|
|
|
func Version() string {
|
|
return VERSION + " " + COMMIT
|
|
}
|