seaweedfs/weed/util/constants.go

20 lines
330 B
Go
Raw Normal View History

package util
2019-04-09 13:32:42 +08:00
import (
"fmt"
)
const HttpStatusCancelled = 499
2019-04-09 13:32:42 +08:00
var (
2024-07-22 11:13:51 +08:00
MAJOR_VERSION = int32(3)
2024-10-01 02:28:59 +08:00
MINOR_VERSION = int32(74)
2024-07-22 11:13:51 +08:00
VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
2021-09-05 04:57:55 +08:00
VERSION = sizeLimit + " " + VERSION_NUMBER
2021-09-04 11:42:28 +08:00
COMMIT = ""
)
2020-06-02 15:10:35 +08:00
func Version() string {
return VERSION + " " + COMMIT
2020-06-06 06:27:10 +08:00
}