2014-03-26 04:46:59 +08:00
|
|
|
package util
|
|
|
|
|
2019-04-09 13:32:42 +08:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
2024-02-15 06:18:56 +08:00
|
|
|
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-08-19 12:51:41 +08:00
|
|
|
MINOR_VERSION = int32(72)
|
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 = ""
|
2014-03-26 04:46:59 +08:00
|
|
|
)
|
2020-06-02 15:10:35 +08:00
|
|
|
|
|
|
|
func Version() string {
|
|
|
|
return VERSION + " " + COMMIT
|
2020-06-06 06:27:10 +08:00
|
|
|
}
|