format code & add additional assets
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"encoding/base64"
|
||||
_ "embed"
|
||||
"github.com/diamondburned/gotk4/pkg/gdkpixbuf/v2"
|
||||
"encoding/base64"
|
||||
"github.com/diamondburned/gotk4/pkg/gdk/v4"
|
||||
"github.com/diamondburned/gotk4/pkg/gdkpixbuf/v2"
|
||||
)
|
||||
|
||||
//go:embed debug.png
|
||||
@@ -87,7 +87,6 @@ var connectB64 string = base64.StdEncoding.EncodeToString(connectBytes)
|
||||
var commentBytes []byte
|
||||
var commentB64 string = base64.StdEncoding.EncodeToString(commentBytes)
|
||||
|
||||
|
||||
//go:embed assets/information.png
|
||||
var informationBytes []byte
|
||||
var informationB64 string = base64.StdEncoding.EncodeToString(informationBytes)
|
||||
@@ -245,7 +244,6 @@ func init() {
|
||||
|
||||
clientAssets["connect"] = gdk.NewTextureForPixbuf(loader.Pixbuf())
|
||||
|
||||
|
||||
loader = gdkpixbuf.NewPixbufLoader()
|
||||
|
||||
commentData, _ := base64.StdEncoding.DecodeString(commentB64)
|
||||
@@ -254,7 +252,6 @@ func init() {
|
||||
|
||||
clientAssets["comment"] = gdk.NewTextureForPixbuf(loader.Pixbuf())
|
||||
|
||||
|
||||
loader = gdkpixbuf.NewPixbufLoader()
|
||||
|
||||
informationData, _ := base64.StdEncoding.DecodeString(informationB64)
|
||||
|
||||
Reference in New Issue
Block a user