bytedance / go-tagexpr

An interesting go struct tag expression syntax for field validation, etc.
Apache License 2.0
1.66k stars 142 forks source link

generates a lot of heap #83

Open sprappcom opened 5 months ago

sprappcom commented 5 months ago

is the phonenumbers package needed? looks buggy to me.

./vendor/github.com/cloudwego/hertz/pkg/app/server/binding/default.go:73: exprValidator "github.com/bytedance/go-tagexpr/v2/validator" ./vendor/github.com/cloudwego/hertz/pkg/app/server/binding/config.go:25: exprValidator "github.com/bytedance/go-tagexpr/v2/validator"

uses github.com/nyaruka/phonenumbers/phonenumbers.go

referenced here as well: https://github.com/cloudwego/hertz/issues/1137

Screenshot from 2024-06-13 23-23-17 Screenshot from 2024-06-13 23-23-04