XIE Long
XIE Long
15:36:40 # github.com/henrylee2cn/ameda 15:36:40 vendor/github.com/henrylee2cn/ameda/int.go:13:2: constant 9223372036854775807 overflows int 15:36:40 vendor/github.com/henrylee2cn/ameda/uint.go:13:2: constant 18446744073709551615 overflows uint
当使用msg自定义错误信息时 validator的Error的行为是,如果有自定义错误信息就只返回自定义信息 ``` // Error implements error interface. func (e *Error) Error() string { if e.Msg != "" { return e.Msg } return "invalid parameter: " + e.FailPath } ```...
Select statement has invalid NULL check syntax when using implicit nil value #272
Support like escape
Add arithmetic supported, like ```go goqu.C("a").Add(1) // "a" + 1 goqu.C("a").Sub(-1).As("b") // ("a" - 1) AS "b" ```
uint64 cast to int64 caused lost of data #317
Add new build-in functions: GREATEST, LEST, UPPER, LOWER
add new tag `subquery`, so we can scan to struct while using some indirectly col in the struct, like ` type items struct { WithName `db:"withName", sbuquery:"(\"name\" IS NOT NULL)"`...
feat: support fmt.Stringer, encoding.TextMarshaler and encoding.BinaryMarshaler as the cache key.