Documentation ¶
Index ¶
- func HTTPGet(uri string) ([]byte, error)
- func HTTPPost(uri string, data string) ([]byte, error)
- func If(cond bool, trueVal, falseVal interface{}) interface{}
- func InsertMap(data interface{}) g.Map
- func IsObjectExist(tableName string, data interface{}) bool
- func MD5Encode(data string) string
- func RandStringBytesMaskImprSrcSB(n int) string
- func SetWithTimeOut(key string, val interface{}, timeout int) error
- func SpliceToPgString(data interface{}) (formatString string)
- func Validation(r *ghttp.Request, parser interface{})
- func Where(data interface{}) g.Map
- func WhereMap(data interface{}, customWhere g.Map) g.Map
- type PqSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsObjectExist ¶
func SetWithTimeOut ¶
func SpliceToPgString ¶
func SpliceToPgString(data interface{}) (formatString string)
SpliceToPgString splice change to postgres array
func Validation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.