Kevin Wan
|
dedba17219
|
refactor: simplify BatchError (#4292)
|
2024-08-03 13:57:41 +08:00 |
|
chentong
|
8689a6247e
|
refactor(core/errorx): use errors.Join simplify error handle (#4289)
|
2024-08-03 03:00:59 +00:00 |
|
Kevin Wan
|
bfddb9dae4
|
feat: add errorx.In to facility error checking (#4105)
|
2024-04-27 20:43:45 +08:00 |
|
Kevin Wan
|
03b6e377d7
|
chore: add lock for batcherror (#3950)
|
2024-03-02 00:59:15 +08:00 |
|
chentong
|
ec41880476
|
fix: BatchError.Add() non thread safe (#3946)
|
2024-03-01 16:32:39 +00:00 |
|
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
|
2023-01-24 16:32:02 +08:00 |
|
Kevin Wan
|
23f34234d0
|
chore: add more tests (#2129)
|
2022-07-11 23:32:57 +08:00 |
|
Kevin Wan
|
e672b3f8e1
|
feat: add Wrap and Wrapf in errorx (#2126)
|
2022-07-11 23:04:38 +08:00 |
|
Kevin Wan
|
b215fa3ee6
|
fix #1541 (#1542)
|
2022-02-15 18:40:26 +08:00 |
|
NevS
|
004ee488a6
|
fix AtomicError panic when Set nil (#1049) (#1050)
|
2021-09-23 14:23:02 +08:00 |
|
Bo-Yi Wu
|
afd9ff889e
|
chore: update code format. (#628)
|
2021-04-15 19:49:17 +08:00 |
|
Kevin Wan
|
7472d1e70b
|
fix golint issues in core/errorx (#480)
|
2021-02-19 10:08:38 +08:00 |
|
Kevin Wan
|
54414db91d
|
fix golint issues, exported doc (#451)
|
2021-02-08 21:31:56 +08:00 |
|
kevin
|
dfe6e88529
|
use goctl template to generate all kinds of templates
|
2020-10-19 23:13:18 +08:00 |
|
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)
|
2020-09-18 22:45:01 +08:00 |
|
kevin
|
7e3a369a8f
|
initial import
|
2020-07-26 17:09:05 +08:00 |
|