Use buf.String() instead of string(buf.Bytes()) (#2764)

This commit is contained in:
ziheng
2021-06-25 12:14:06 +08:00
committed by GitHub
parent 7834a03e84
commit f2bbdfe9f2
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -13,6 +13,8 @@ import (
"github.com/ugorji/go/codec"
)
// Check interface implemented here to support go build tag nomsgpack.
// See: https://github.com/gin-gonic/gin/pull/1852/
var (
_ Render = MsgPack{}
)