seaweedfs/weed/util/constants.go
2024-11-18 09:48:33 -08:00

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
}