fix: fix goline error

This commit is contained in:
dudaodong committed 2023-01-05 14:55:47 +08:00
1 parent d8505d1a5f
commit d9c6294775
5 files changed
+47 -14

No files matched your search

+4 -1
View File
@@ -242,7 +242,10 @@ func ExampleEncodeByte() {
func ExampleDecodeByte() {
var obj string
byteData := []byte{6, 12, 0, 3, 97, 98, 99}
DecodeByte(byteData, &obj)
err := DecodeByte(byteData, &obj)
if err != nil {
return
}
fmt.Println(obj)