mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 18:04:46 +08:00
change version directory
This commit is contained in:
20
weed/util/version/constants.go
Normal file
20
weed/util/version/constants.go
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user