mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-21 15:30:09 +08:00
💩👌 make lint happy
This commit is contained in:
parent
44ad78761b
commit
7c1ddc6ab1
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user