fmt: gofmt cleanup

This commit is contained in:
jamesread 2022-04-05 11:28:35 +01:00
parent 42cde3ba70
commit 6f5fd20a2c
3 changed files with 8 additions and 9 deletions

View File

@ -6,13 +6,13 @@ import (
config "github.com/jamesread/OliveTin/internal/config"
log "github.com/sirupsen/logrus"
"bytes"
"context"
"errors"
"os/exec"
"regexp"
"strings"
"time"
"bytes"
)
var (

View File

@ -52,7 +52,6 @@ func generateWebUISettings(w http.ResponseWriter, r *http.Request) {
ShowNewVersions: cfg.ShowNewVersions,
AvailableVersion: updatecheck.AvailableVersion,
CurrentVersion: updatecheck.CurrentVersion,
})
_, err := w.Write([]byte(jsonRet))