用户登录和接口鉴权
This commit is contained in:
8
vendor/github.com/bytedance/sonic/unquote/unquote.go
generated
vendored
8
vendor/github.com/bytedance/sonic/unquote/unquote.go
generated
vendored
@@ -1,7 +1,3 @@
|
||||
//go:build (amd64 && go1.17 && !go1.26) || (arm64 && go1.20 && !go1.26)
|
||||
// +build amd64,go1.17,!go1.26 arm64,go1.20,!go1.26
|
||||
|
||||
|
||||
/*
|
||||
* Copyright 2021 ByteDance Inc.
|
||||
*
|
||||
@@ -29,7 +25,7 @@ import (
|
||||
`github.com/bytedance/sonic/internal/rt`
|
||||
)
|
||||
|
||||
// String unescapes an escaped string (not including `"` at beginning and end)
|
||||
// String unescapes a escaped string (not including `"` at begining and end)
|
||||
// It validates invalid UTF8 and replace with `\ufffd`
|
||||
func String(s string) (ret string, err types.ParsingError) {
|
||||
mm := make([]byte, 0, len(s))
|
||||
@@ -47,7 +43,7 @@ func IntoBytes(s string, m *[]byte) types.ParsingError {
|
||||
}
|
||||
}
|
||||
|
||||
// String unescapes an escaped string (not including `"` at beginning and end)
|
||||
// String unescapes a escaped string (not including `"` at begining and end)
|
||||
// - replace enables replacing invalid utf8 escaped char with `\uffd`
|
||||
func _String(s string, replace bool) (ret string, err error) {
|
||||
mm := make([]byte, 0, len(s))
|
||||
|
||||
Reference in New Issue
Block a user