mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-06 16:57:29 +08:00
apply go-level optimizations for lock-free snapshots, pooling, worker flow and typed errors
This commit is contained in:
8
pkg/tools/errors.go
Normal file
8
pkg/tools/errors.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package tools
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrUnsupportedAction = errors.New("unsupported action")
|
||||
ErrMissingField = errors.New("missing required field")
|
||||
)
|
||||
Reference in New Issue
Block a user