seaweedfs/weed/util/constants.go
2024-07-21 21:03:27 -07:00

20 lines
330 B
Go

package util
import (
"fmt"
)
const HttpStatusCancelled = 499
var (
MAJOR_VERSION = int32(3)
MINOR_VERSION = int32(71)
VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
VERSION = sizeLimit + " " + VERSION_NUMBER
COMMIT = ""
)
func Version() string {
return VERSION + " " + COMMIT
}