From 7c1ddc6ab15f22f55b9d87aa5a4d7869eadd56f2 Mon Sep 17 00:00:00 2001 From: fumiama Date: Sat, 19 Feb 2022 18:03:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=F0=9F=91=8C=20make=20lint=20happy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_wordle/pack.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_wordle/pack.go b/plugin_wordle/pack.go index 64a0795d..07d643d9 100644 --- a/plugin_wordle/pack.go +++ b/plugin_wordle/pack.go @@ -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)