Files
seaweedfs/weed/util/constants.go

20 lines
330 B
Go
Raw Normal View History

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