Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Fix static check
Browse files Browse the repository at this point in the history
  • Loading branch information
jmourell committed Sep 1, 2024
1 parent 04411ad commit efb662d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion internal/auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestGetAPIKey(t *testing.T) {

diff := cmp.Diff(tc.want, result{Auth: auth, Err: err}, cmpopts.EquateErrors())
if diff != "" {
t.Fatalf(diff)
t.Fatal(diff)
}
})
}
Expand Down
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ type apiConfig struct {
//go:embed static/*
var staticFiles embed.FS

func unused() {
// this function does nothing
// and is called nowhere
}

func main() {
err := godotenv.Load(".env")
if err != nil {
Expand Down

0 comments on commit efb662d

Please sign in to comment.