feat: zero value constant

This commit is contained in:
zchengo
2022-12-16 20:35:24 +08:00
parent 7d3c1e21e9
commit dcb7b3ed63
+10 -4
View File
@@ -9,10 +9,16 @@ import (
const (
// 数据库表名
USER = "user"
CUSTOMER = "customer"
CONTRACT = "contract"
PRODUCT = "product"
USER = "user"
CUSTOMER = "customer"
CONTRACT = "contract"
PRODUCT = "product"
SUBSCRIBE = "subscribe"
)
const (
NumberNull = 0
StringNull = ""
)
var ctx = context.Background()