From fa1e5fa6d5468a25195463426921607bcc7768bc Mon Sep 17 00:00:00 2001
From: Nick White <git@njw.name>
Date: Tue, 22 Nov 2022 11:24:33 +0000
Subject: gofmt

---
 cmd/rescribe/gui.go      | 4 ++--
 cmd/rescribe/gui_test.go | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

(limited to 'cmd')

diff --git a/cmd/rescribe/gui.go b/cmd/rescribe/gui.go
index d1a992d..91cdb4d 100644
--- a/cmd/rescribe/gui.go
+++ b/cmd/rescribe/gui.go
@@ -78,7 +78,7 @@ func copyStdoutToChan() (chan rune, error) {
 // copyStderrToChan creates a pipe to copy anything written
 // to the file also to a rune channel.
 // TODO: would be nice to merge this with copyStdoutToChan,
-//       but a naive version using *os.File didn't work.
+// but a naive version using *os.File didn't work.
 func copyStderrToChan() (chan rune, error) {
 	c := make(chan rune)
 
@@ -558,7 +558,7 @@ func startGui(log *log.Logger, cmd string, gbookcmd string, training string, tes
 	})
 	abortbtn.Disable()
 
-	gobtn.OnTapped = func(){
+	gobtn.OnTapped = func() {
 		start(ctx, log, cmd, tessdir, gbookcmd, dir.Text, trainingOpts.Selected, myWindow, logarea, progressBar, abortbtn, !wipe.Checked, bigpdf.Checked, disableWidgets)
 	}
 
diff --git a/cmd/rescribe/gui_test.go b/cmd/rescribe/gui_test.go
index 3c90000..99a924f 100644
--- a/cmd/rescribe/gui_test.go
+++ b/cmd/rescribe/gui_test.go
@@ -8,6 +8,7 @@ import (
 	"fmt"
 	"strings"
 	"testing"
+
 	"fyne.io/fyne/v2/app"
 	"fyne.io/fyne/v2/widget"
 )
-- 
cgit v1.2.1-24-ge1ad