Lewati ke konten

Build with JSON replacement

Konten ini belum tersedia dalam bahasa Anda.

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" .