Skip to content

Commit

Permalink
chore: fix linter (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
abemedia authored Nov 4, 2023
1 parent 1a2820f commit ad4d428
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/gorilla/schema v1.2.0 h1:YufUaxZYCKGFuAq3c96BOhjgd5nmXiOY9NGzF247Tsc=
github.com/gorilla/schema v1.2.0/go.mod h1:kgLaKoK1FELgZqMAVxx/5cbj0kT+57qxUrAlIO2eleU=
Expand Down
4 changes: 2 additions & 2 deletions decoder/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ var (
)

type Getter interface {
Get(string) string
Values(string) []string
Get(key string) string
Values(key string) []string
}

type Decoder struct {
Expand Down
2 changes: 1 addition & 1 deletion pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

type pool[T any] interface {
Get() *T
Put(*T)
Put(x *T)
}

type requestPool[T any] struct {
Expand Down

0 comments on commit ad4d428

Please sign in to comment.