Skip to content

Commit 9efa315

Browse files
committed
gofumpt pass on source
1 parent 441abc1 commit 9efa315

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

main.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ import (
1616
"github.com/Southclaws/wadsworth/service"
1717
)
1818

19-
var (
20-
version = "master"
21-
)
19+
var version = "master"
2220

2321
func init() {
2422
// constructs a logger and replaces the default global logger

service/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function E(k, v) {
9292
}
9393
cb.vm.Set("HOSTNAME", hostname) //nolint:errcheck
9494

95-
var env = make(map[string]string)
95+
env := make(map[string]string)
9696
for _, kv := range os.Environ() {
9797
d := strings.IndexRune(kv, '=')
9898
env[kv[:d]] = kv[d+1:]

service/secrets.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package service
22

3-
import (
4-
"github.com/pkg/errors"
5-
)
3+
import "github.com/pkg/errors"
64

75
func (app *App) getSecretsForTarget(name string) (env map[string]string, err error) {
86
if app.vault != nil {

0 commit comments

Comments
 (0)