Skip to content

Commit 1edb258

Browse files
authored
fix(lint): fix gci import ordering and unused parameter warnings (#7)
1 parent 1f78c5f commit 1edb258

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

internal/proxy/server_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3735,7 +3735,7 @@ default = "allow"
37353735

37363736
// SetOnOAuthRefresh should not panic even if injector is nil (no bindings).
37373737
called := false
3738-
srv.SetOnOAuthRefresh(func(credName string) {
3738+
srv.SetOnOAuthRefresh(func(_ string) {
37393739
called = true
37403740
})
37413741

@@ -3798,5 +3798,5 @@ default = "allow"
37983798
defer func() { _ = srv.Close() }()
37993799

38003800
// Should not panic when injector is nil.
3801-
srv.SetOnOAuthRefresh(func(credName string) {})
3801+
srv.SetOnOAuthRefresh(func(_ string) {})
38023802
}

internal/store/import.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"regexp"
88

99
"github.com/BurntSushi/toml"
10-
1110
"github.com/nemirovsky/sluice/internal/container"
1211
)
1312

internal/store/store.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"strings"
1414

1515
"github.com/nemirovsky/sluice/internal/container"
16-
1716
_ "modernc.org/sqlite" // SQLite driver registration
1817
)
1918

0 commit comments

Comments
 (0)