优化slice处理

This commit is contained in:
2024-12-01 15:10:48 +08:00
parent c10486b403
commit d466b7526d
2 changed files with 289 additions and 2 deletions

15
gjson_hack/error.go Normal file
View File

@ -0,0 +1,15 @@
// Package gjson_hack ...
//
// Description : filter ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2024-11-30 19:14
package gjson_hack
import "errors"
var (
ErrDataIsNotObject = errors.New("data is not an object")
ErrDataIsNotArray = errors.New("data is not an array")
)