You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
330 B
19 lines
330 B
package util
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
const HttpStatusCancelled = 499
|
|
|
|
var (
|
|
MAJOR_VERSION = int32(3)
|
|
MINOR_VERSION = int32(80)
|
|
VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
|
|
VERSION = sizeLimit + " " + VERSION_NUMBER
|
|
COMMIT = ""
|
|
)
|
|
|
|
func Version() string {
|
|
return VERSION + " " + COMMIT
|
|
}
|