Error strings should not be capitalized
Reported by staticcheck 2022.1.2 (v0.3.2) See: staticcheck.io
This commit is contained in:
parent
027746ef6e
commit
fdd2f8e6d2
65 changed files with 159 additions and 159 deletions
|
@ -16,9 +16,9 @@ import (
|
|||
|
||||
// protocol errors
|
||||
var (
|
||||
ErrorPrematureEOF = errors.New("Premature EOF")
|
||||
ErrorInvalidLength = errors.New("Invalid length")
|
||||
ErrorZeroTerminate = errors.New("String must end with zero")
|
||||
ErrorPrematureEOF = errors.New("premature EOF")
|
||||
ErrorInvalidLength = errors.New("invalid length")
|
||||
ErrorZeroTerminate = errors.New("string must end with zero")
|
||||
)
|
||||
|
||||
// BinWriter is a binary protocol writer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue