mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-21 23:50: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) {
|
func (w wordpack) String() (word string) {
|
||||||
wt := binary.SelectWriter()
|
wt := binary.SelectWriter()
|
||||||
wt.Write(w[:])
|
_, _ = wt.Write(w[:])
|
||||||
wt.WriteByte(0)
|
_ = wt.WriteByte(0)
|
||||||
n := goBinary.LittleEndian.Uint32(wt.Bytes())
|
n := goBinary.LittleEndian.Uint32(wt.Bytes())
|
||||||
binary.PutWriter(wt)
|
binary.PutWriter(wt)
|
||||||
word = strconv.FormatUint(uint64(n), 26)
|
word = strconv.FormatUint(uint64(n), 26)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user