1
0
mirror of https://github.com/fumiama/go-simple-protobuf.git synced 2026-06-09 20:40:27 +08:00
This commit is contained in:
源文雨
2022-10-27 15:25:16 +08:00
parent 34124ce560
commit 751fa4688d
7 changed files with 2577 additions and 1 deletions

8
err.go Normal file
View File

@@ -0,0 +1,8 @@
package spb
import "errors"
var (
ErrInvalidStructLen = errors.New("invalid struct_len") // 1B<struct_len<1MB
ErrInvalidDataLen = errors.New("invalid data_len")
)