Documentation ¶
Index ¶
Constants ¶
View Source
const (
DateFormatRFC3339 = time.RFC3339
)
Variables ¶
View Source
var Command = map[string]string{
"create_question": "create_question",
"update_question": "update_question",
"delete_question": "delete_question",
"question": "question",
"questions": "questions",
"answer_question": "answer_question",
}
View Source
var Operator = map[string]string{
"gt": ">",
"lt": "<",
"eq": "=",
"ne": "!=",
"gte": ">=",
"lte": "<=",
"like": "like",
"in": "in",
"notin": "in",
"null": "is null",
"notnull": "is not null",
}
Operator string transalation
Functions ¶
func EncodeBase64 ¶
func FormatDateToRFC3339 ¶
func GetRedisKey ¶
func StringToInt ¶
func StringToInt64 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.