mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-06-28 08:53:19 +08:00
21 lines
382 B
Go
21 lines
382 B
Go
package version
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/seaweedfs/seaweedfs/weed/util"
|
|
)
|
|
|
|
const HttpStatusCancelled = 499
|
|
|
|
var (
|
|
MAJOR_VERSION = int32(3)
|
|
MINOR_VERSION = int32(89)
|
|
VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
|
|
VERSION = util.SizeLimit + " " + VERSION_NUMBER
|
|
COMMIT = ""
|
|
)
|
|
|
|
func Version() string {
|
|
return VERSION + " " + COMMIT
|
|
}
|