Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Oct 12, 2023
1 parent ab45e09 commit 8dc6b5f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ast/api_compat.go
Expand Up @@ -27,7 +27,7 @@
)

func init() {
println("WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
println("WARNING:(ast) sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
}

func quote(buf *[]byte, val string) {
Expand Down
4 changes: 0 additions & 4 deletions ast/b64_compat.go
Expand Up @@ -22,10 +22,6 @@ import (
`encoding/base64`
)

func init() {
println("WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
}

func decodeBase64(src string) ([]byte, error) {
return base64.StdEncoding.DecodeString(src)
}
Expand Down
2 changes: 1 addition & 1 deletion decoder/decoder_compat.go
Expand Up @@ -30,7 +30,7 @@ import (
)

func init() {
println("WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
println("WARNING(decoder): sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
}

const (
Expand Down
2 changes: 1 addition & 1 deletion encoder/encoder_compat.go
Expand Up @@ -28,7 +28,7 @@ import (
)

func init() {
println("WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
println("WARNING(encoder): sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable")
}

// Options is a set of encoding options.
Expand Down

0 comments on commit 8dc6b5f

Please sign in to comment.