Skip to content

Commit cdb11b2

Browse files
committed
🔥️ [main] add time zone constants
1 parent 657304e commit cdb11b2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

constants/static.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
package constants
22

3+
import "time"
4+
35
const ID_NOT_EXIST = "ID_NOT_EXIST"
4-
const TIME_ZONE = "UTC"
56

6-
const CURRENT_VERSION = "v1"
7+
var TIME_ZONE, _ = time.LoadLocation("UTC")
78

8-
var SUCCESS = struct {
9-
Message string
10-
}{
11-
Message: "Success",
12-
}
9+
const CURRENT_VERSION = "v1"

0 commit comments

Comments
 (0)