💩👌 make lint happy

This commit is contained in:
fumiama 2022-02-19 18:03:35 +08:00
parent 44ad78761b
commit 7c1ddc6ab1

View File

@ -37,8 +37,8 @@ func pack(word string) (w wordpack) {
func (w wordpack) String() (word string) {
wt := binary.SelectWriter()
wt.Write(w[:])
wt.WriteByte(0)
_, _ = wt.Write(w[:])
_ = wt.WriteByte(0)
n := goBinary.LittleEndian.Uint32(wt.Bytes())
binary.PutWriter(wt)
word = strconv.FormatUint(uint64(n), 26)