├── .github ├── test.sh └── workflows │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── binding ├── README.md ├── bind.go ├── bind_test.go ├── body.go ├── body_test.go ├── default.go ├── error.go ├── example_test.go ├── func.go ├── gjson │ ├── gjson.go │ ├── gjson_test.go │ └── internal │ │ ├── caching │ │ ├── fcache.go │ │ ├── hashing.go │ │ ├── hashing_test.go │ │ ├── pcache.go │ │ └── pcache_test.go │ │ └── rt │ │ └── fastvalue.go ├── param_info.go ├── pathparam.go ├── receiver.go ├── request.go ├── tag_names.go ├── tag_names_test.go └── tidwall_gjson │ ├── LICENSE │ └── gjson.go ├── example_test.go ├── expr.go ├── expr_test.go ├── go.mod ├── go.sum ├── handler.go ├── selector.go ├── selector_test.go ├── spec_func.go ├── spec_func_test.go ├── spec_operand.go ├── spec_operator.go ├── spec_range.go ├── spec_range_test.go ├── spec_selector.go ├── spec_test.go ├── tagexpr.go ├── tagexpr_test.go ├── tagparser.go ├── tagparser_test.go └── validator ├── README.md ├── default.go ├── example_test.go ├── func.go ├── validator.go └── validator_test.go /.github/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/.github/test.sh -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/README.md -------------------------------------------------------------------------------- /binding/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/README.md -------------------------------------------------------------------------------- /binding/bind.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/bind.go -------------------------------------------------------------------------------- /binding/bind_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/bind_test.go -------------------------------------------------------------------------------- /binding/body.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/body.go -------------------------------------------------------------------------------- /binding/body_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/body_test.go -------------------------------------------------------------------------------- /binding/default.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/default.go -------------------------------------------------------------------------------- /binding/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/error.go -------------------------------------------------------------------------------- /binding/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/example_test.go -------------------------------------------------------------------------------- /binding/func.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/func.go -------------------------------------------------------------------------------- /binding/gjson/gjson.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/gjson.go -------------------------------------------------------------------------------- /binding/gjson/gjson_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/gjson_test.go -------------------------------------------------------------------------------- /binding/gjson/internal/caching/fcache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/internal/caching/fcache.go -------------------------------------------------------------------------------- /binding/gjson/internal/caching/hashing.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/internal/caching/hashing.go -------------------------------------------------------------------------------- /binding/gjson/internal/caching/hashing_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/internal/caching/hashing_test.go -------------------------------------------------------------------------------- /binding/gjson/internal/caching/pcache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/internal/caching/pcache.go -------------------------------------------------------------------------------- /binding/gjson/internal/caching/pcache_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/internal/caching/pcache_test.go -------------------------------------------------------------------------------- /binding/gjson/internal/rt/fastvalue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/gjson/internal/rt/fastvalue.go -------------------------------------------------------------------------------- /binding/param_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/param_info.go -------------------------------------------------------------------------------- /binding/pathparam.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/pathparam.go -------------------------------------------------------------------------------- /binding/receiver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/receiver.go -------------------------------------------------------------------------------- /binding/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/request.go -------------------------------------------------------------------------------- /binding/tag_names.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/tag_names.go -------------------------------------------------------------------------------- /binding/tag_names_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/tag_names_test.go -------------------------------------------------------------------------------- /binding/tidwall_gjson/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/tidwall_gjson/LICENSE -------------------------------------------------------------------------------- /binding/tidwall_gjson/gjson.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/binding/tidwall_gjson/gjson.go -------------------------------------------------------------------------------- /example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/example_test.go -------------------------------------------------------------------------------- /expr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/expr.go -------------------------------------------------------------------------------- /expr_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/expr_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/go.sum -------------------------------------------------------------------------------- /handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/handler.go -------------------------------------------------------------------------------- /selector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/selector.go -------------------------------------------------------------------------------- /selector_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/selector_test.go -------------------------------------------------------------------------------- /spec_func.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_func.go -------------------------------------------------------------------------------- /spec_func_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_func_test.go -------------------------------------------------------------------------------- /spec_operand.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_operand.go -------------------------------------------------------------------------------- /spec_operator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_operator.go -------------------------------------------------------------------------------- /spec_range.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_range.go -------------------------------------------------------------------------------- /spec_range_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_range_test.go -------------------------------------------------------------------------------- /spec_selector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_selector.go -------------------------------------------------------------------------------- /spec_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/spec_test.go -------------------------------------------------------------------------------- /tagexpr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/tagexpr.go -------------------------------------------------------------------------------- /tagexpr_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/tagexpr_test.go -------------------------------------------------------------------------------- /tagparser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/tagparser.go -------------------------------------------------------------------------------- /tagparser_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/tagparser_test.go -------------------------------------------------------------------------------- /validator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/validator/README.md -------------------------------------------------------------------------------- /validator/default.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/validator/default.go -------------------------------------------------------------------------------- /validator/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/validator/example_test.go -------------------------------------------------------------------------------- /validator/func.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/validator/func.go -------------------------------------------------------------------------------- /validator/validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/validator/validator.go -------------------------------------------------------------------------------- /validator/validator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytedance/go-tagexpr/HEAD/validator/validator_test.go --------------------------------------------------------------------------------