mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-28 14:08:29 +02:00
lint fix.
This commit is contained in:
parent
8f60041b2d
commit
bd062d3949
3 changed files with 8 additions and 8 deletions
|
@ -2,8 +2,8 @@ package utils
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"image"
|
||||
"image/color"
|
||||
"image"
|
||||
"image/color"
|
||||
"image/png"
|
||||
"encoding/base64"
|
||||
|
||||
|
@ -29,8 +29,8 @@ func GetCursorImageURI(cursor *types.CursorImage) (string, error) {
|
|||
}
|
||||
}
|
||||
|
||||
out := new(bytes.Buffer)
|
||||
err := png.Encode(out, img)
|
||||
out := new(bytes.Buffer)
|
||||
err := png.Encode(out, img)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue