fmt: gofmt cleanup
This commit is contained in:
parent
42cde3ba70
commit
6f5fd20a2c
|
|
@ -6,13 +6,13 @@ import (
|
||||||
config "github.com/jamesread/OliveTin/internal/config"
|
config "github.com/jamesread/OliveTin/internal/config"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
|
|
||||||
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"bytes"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@ func generateWebUISettings(w http.ResponseWriter, r *http.Request) {
|
||||||
ShowNewVersions: cfg.ShowNewVersions,
|
ShowNewVersions: cfg.ShowNewVersions,
|
||||||
AvailableVersion: updatecheck.AvailableVersion,
|
AvailableVersion: updatecheck.AvailableVersion,
|
||||||
CurrentVersion: updatecheck.CurrentVersion,
|
CurrentVersion: updatecheck.CurrentVersion,
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
_, err := w.Write([]byte(jsonRet))
|
_, err := w.Write([]byte(jsonRet))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue