Commit Graph

17 Commits (cc2a7e97f9d6abee217e437bd17fe6400adacc0a)

Author SHA1 Message Date
Kevin Wan 42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 1 year ago
Kevin Wan ff04356704
fix: format error should not trigger circuit breaker in sqlx (#3437) 1 year ago
qiying.wang 148afcf1a7 chore: remove redundant prefix of "error: " in error creation 2 years ago
chen quan ea7dab3d26
feat(sqlx): error log print traceId and spanId (#2845) 2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
Kevin Wan 1568c3be0e
fix: time repr wrapper (#2255) 2 years ago
Kevin Wan 1a38eddffe
refactor: simplify the code (#1835) 3 years ago
Kevin Wan 5bcee4cf7c
fix #1806 (#1833)
* fix #1806

* chore: refine error text
3 years ago
Kevin Wan 2b9fc26c38
refactor: guard timeout on API files (#1726) 3 years ago
mlr3000 32c88b6352
feat: support oracle :N dynamic parameters (#1552)
* chore:use struct pointer

* feat: support oracle :N dynamic parameters

* Update utils.go

* Update utils.go

* Update utils.go

pg argIndex will not always go up

* Update utils_test.go

* Keep the original

* Update utils_test.go
3 years ago
Kevin Wan 607bae27fa
feat: support ctx in sqlx/sqlc, listed in ROADMAP (#1535)
* feat: support ctx in sqlx/sqlc

* chore: update roadmap

* fix: context.Canceled should be acceptable

* use %w to wrap errors

* chore: remove unused vars
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan aaa3623404
optimize nested conditional (#709) 4 years ago
Kevin Wan aaa39e17a3
print entire sql statements in logx if necessary (#704) 4 years ago
Kevin Wan bd623aaac3
support postgresql (#583)
support postgresql
4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago