跳到內容

Build without MsgPack

本頁內容尚未翻譯。

Gin enables MsgPack rendering feature by default. But you can disable this feature by specifying the nomsgpack build tag.

Terminal window
go build -tags=nomsgpack .

This is useful to reduce the binary size of executable files. See the detail information.