File tree Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Expand file tree Collapse file tree 6 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ linters:
44
44
generated : disable
45
45
formatters :
46
46
enable :
47
- - gci
48
47
- gofmt
49
48
- gofumpt
50
49
- goimports
@@ -59,3 +58,6 @@ formatters:
59
58
shorten-comments : true
60
59
reformat-tags : true
61
60
chain-split-dots : true
61
+ goimports :
62
+ local-prefixes :
63
+ - git.maronato.dev/maronato/finger
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ import (
8
8
"os/signal"
9
9
"syscall"
10
10
11
- "git.maronato.dev/maronato/finger/internal/config"
12
11
"github.com/peterbourgon/ff/v4"
13
12
"github.com/peterbourgon/ff/v4/ffhelp"
13
+
14
+ "git.maronato.dev/maronato/finger/internal/config"
14
15
)
15
16
16
17
func Run (version string ) error {
Original file line number Diff line number Diff line change 7
7
"net/url"
8
8
"time"
9
9
10
- "git.maronato.dev/maronato/finger/internal/config"
11
10
"github.com/peterbourgon/ff/v4"
11
+
12
+ "git.maronato.dev/maronato/finger/internal/config"
12
13
)
13
14
14
15
func newHealthcheckCmd (cfg * config.Config ) * ff.Command {
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ import (
5
5
"fmt"
6
6
"os"
7
7
8
+ "github.com/peterbourgon/ff/v4"
9
+
8
10
"git.maronato.dev/maronato/finger/internal/config"
9
11
"git.maronato.dev/maronato/finger/internal/fingerreader"
10
12
"git.maronato.dev/maronato/finger/internal/log"
11
13
"git.maronato.dev/maronato/finger/internal/server"
12
- "github.com/peterbourgon/ff/v4"
13
14
)
14
15
15
16
const appName = "finger"
Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ import (
7
7
"net/url"
8
8
"os"
9
9
10
+ "go.yaml.in/yaml/v3"
11
+
10
12
"git.maronato.dev/maronato/finger/internal/config"
11
13
"git.maronato.dev/maronato/finger/internal/log"
12
14
"git.maronato.dev/maronato/finger/webfingers"
13
- "go.yaml.in/yaml/v3"
14
15
)
15
16
16
17
type FingerReader struct {
Original file line number Diff line number Diff line change @@ -8,12 +8,13 @@ import (
8
8
"net/http"
9
9
"time"
10
10
11
+ "golang.org/x/sync/errgroup"
12
+
11
13
"git.maronato.dev/maronato/finger/handler"
12
14
"git.maronato.dev/maronato/finger/internal/config"
13
15
"git.maronato.dev/maronato/finger/internal/log"
14
16
"git.maronato.dev/maronato/finger/internal/middleware"
15
17
"git.maronato.dev/maronato/finger/webfingers"
16
- "golang.org/x/sync/errgroup"
17
18
)
18
19
19
20
const (
You can’t perform that action at this time.
0 commit comments