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

2 months ago
3 years ago
3 years ago
5 years ago
  1. package util
  2. import (
  3. "fmt"
  4. )
  5. const HttpStatusCancelled = 499
  6. var (
  7. MAJOR_VERSION = int32(3)
  8. MINOR_VERSION = int32(77)
  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. }