Commit Graph

11 Commits (133c40ac1cbc357788d7936351ce2d514642855a)

Author SHA1 Message Date
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 23f34234d0
chore: add more tests (#2129) 2 years ago
Kevin Wan e672b3f8e1
feat: add Wrap and Wrapf in errorx (#2126) 2 years ago
Kevin Wan b215fa3ee6
fix #1541 (#1542) 3 years ago
NevS 004ee488a6
fix AtomicError panic when Set nil (#1049) (#1050) 3 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
Kevin Wan 7472d1e70b
fix golint issues in core/errorx (#480) 4 years ago
Kevin Wan 54414db91d
fix golint issues, exported doc (#451) 4 years ago
kevin dfe6e88529 use goctl template to generate all kinds of templates 4 years ago
Changkun Ou 762af9dda2
optimize AtomicError (#82)
This commit optimize AtomicError using atomic.Value. Benchmarks:

name               old time/op  new time/op  delta
AtomicError/Load-6   305ns ±11%    12ns ± 6%  -96.18%  (p=0.000 n=10+10)
AtomicError/Set-6   314ns ±16%    14ns ± 2%  -95.61%  (p=0.000 n=10+9)
4 years ago
kevin 7e3a369a8f initial import 4 years ago