seaweedfs/weed/util/constants.go

18 lines
249 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-05-06 13:23:18 +08:00
VERSION_NUMBER = fmt.Sprintf("%.02f", 3.66)
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
}