constants.go 330 B

12345678910111213141516171819
  1. package util
  2. import (
  3. "fmt"
  4. )
  5. const HttpStatusCancelled = 499
  6. var (
  7. MAJOR_VERSION = int32(3)
  8. MINOR_VERSION = int32(74)
  9. VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
  10. VERSION = sizeLimit + " " + VERSION_NUMBER
  11. COMMIT = ""
  12. )
  13. func Version() string {
  14. return VERSION + " " + COMMIT
  15. }