mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-19 20:22:25 +08:00
fix: fix goline error
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user