We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The strings obfuscator currently breaks for json.Number symbols.
Ex. https://github.com/auto-program/vendor/blob/9351d5081b8149a1d03a783dae10cf054146ed16/github.com/gocraft/dbr/types.go#L106
// UnmarshalJSON correctly deserializes a NullInt64 from JSON func (n *NullInt64) UnmarshalJSON(b []byte) error { var s json.Number if err := json.Unmarshal(b, &s); err != nil { return err } if s == "" { return n.Scan(nil) } return n.Scan(s) }
func (n *NullInt64) UnmarshalJSON(b []byte) error { var s json.Number if err := json.Unmarshal(b, &s); err != nil { return err } if s == (func() string { mask := []byte("") maskedStr := []byte("") res := make([]byte, 0) for i, m := range mask { res[i] = m ^ maskedStr[i] } return string(res) }()) { return n.Scan(nil) } return n.Scan(s) }
cannot compare s == ((func() string literal)()) (mismatched types json.Number and string)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The strings obfuscator currently breaks for json.Number symbols.
Ex. https://github.com/auto-program/vendor/blob/9351d5081b8149a1d03a783dae10cf054146ed16/github.com/gocraft/dbr/types.go#L106
cannot compare s == ((func() string literal)()) (mismatched types json.Number and string)
The text was updated successfully, but these errors were encountered: