[chore]: Bump github.com/gin-contrib/gzip from 0.0.6 to 1.0.0 (#2781)

This commit is contained in:
dependabot[bot] 2024-03-25 10:31:19 +00:00 committed by GitHub
commit 40ee470536
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
105 changed files with 81065 additions and 43757 deletions

View file

@ -80,7 +80,7 @@ type Config struct {
}
var (
// ConfigDefault is the default config of APIs, aiming at efficiency and safty.
// ConfigDefault is the default config of APIs, aiming at efficiency and safety.
ConfigDefault = Config{}.Froze()
// ConfigStd is the standard config of APIs, aiming at being compatible with encoding/json.
@ -118,7 +118,7 @@ type API interface {
NewEncoder(writer io.Writer) Encoder
// NewDecoder create a Decoder holding reader
NewDecoder(reader io.Reader) Decoder
// Valid validates the JSON-encoded bytes and reportes if it is valid
// Valid validates the JSON-encoded bytes and reports if it is valid
Valid(data []byte) bool
}
@ -184,7 +184,7 @@ func UnmarshalString(buf string, val interface{}) error {
//
// Notice: It expects the src json is **Well-formed** and **Immutable** when calling,
// otherwise it may return unexpected result.
// Considering memory safty, the returned JSON is **Copied** from the input
// Considering memory safety, the returned JSON is **Copied** from the input
func Get(src []byte, path ...interface{}) (ast.Node, error) {
return GetCopyFromString(rt.Mem2Str(src), path...)
}