Skip to content

Commit

Permalink
fix: remove the unused options func
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Stockton committed Oct 8, 2024
1 parent 211df61 commit ed3b916
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/api/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ type Option interface {
apply(*API)
}

type optionFunc func(*API)

func (fn optionFunc) apply(a *API) { fn(a) }

type LimiterOptions struct {
Email *limiter.Limiter
Phone *limiter.Limiter
Expand Down

0 comments on commit ed3b916

Please sign in to comment.