fix(app): format using gofumpt
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c79f4e811b
commit
b28dae3bd0
@ -13,7 +13,6 @@ import (
|
||||
func TestNixFlake_GosrcVersionStringEquivalence(t *testing.T) {
|
||||
want := GetShortVersion()
|
||||
fData, err := os.ReadFile("../flake.nix")
|
||||
|
||||
if err != nil {
|
||||
t.Errorf("Failed to open flake.nix: %q", err)
|
||||
}
|
||||
|
@ -24,8 +24,10 @@ type project struct {
|
||||
license string
|
||||
}
|
||||
|
||||
var authorInfo = "Adam Mirre <a_mirre at utb dot cz>"
|
||||
var projectURL = "https://git.dotya.ml/wanderer/go-xkcdreader"
|
||||
var (
|
||||
authorInfo = "Adam Mirre <a_mirre at utb dot cz>"
|
||||
projectURL = "https://git.dotya.ml/wanderer/go-xkcdreader"
|
||||
)
|
||||
|
||||
//go:embed assets/standard-license-header.txt
|
||||
var l string
|
||||
|
@ -137,7 +137,6 @@ func makeBrowseUI() *fyne.Container {
|
||||
// get img from filesystem, resize it and return as *canvas.Image.
|
||||
func getImg(imgPath string) *canvas.Image {
|
||||
_, err := os.Stat(imgPath)
|
||||
|
||||
// properly handle error, perhaps panic?...don't panic, I know..
|
||||
if err != nil {
|
||||
log.Println("failed to read file " + imgPath)
|
||||
|
@ -30,7 +30,6 @@ func TestToolbar(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestTabs(t *testing.T) {
|
||||
|
||||
// wantTabsNum := 2
|
||||
// gotTabs := makeTabs()
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user