Перейти к содержимому

Encoding

Это содержимое пока не доступно на вашем языке.

Build with json replacement

Gin uses encoding/json as the default JSON package but you can change it by building from other tags.

go-json

Terminal window
go build -tags=go_json .

jsoniter

Terminal window
go build -tags=jsoniter .

sonic (you have to ensure that your cpu supports avx instruction.)

Terminal window
$ go build -tags="sonic avx" .