apply go-level optimizations for lock-free snapshots, pooling, worker flow and typed errors

This commit is contained in:
DBT
2026-02-24 09:43:40 +00:00
parent 162909864a
commit dd705e5e93
4 changed files with 73 additions and 49 deletions

8
pkg/tools/errors.go Normal file
View File

@@ -0,0 +1,8 @@
package tools
import "errors"
var (
ErrUnsupportedAction = errors.New("unsupported action")
ErrMissingField = errors.New("missing required field")
)