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

Commit

Permalink
Fix typo in doc for PreWare and PreWares
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Lloyd committed Jan 25, 2022
1 parent 1f21020 commit 262b000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type Options struct {
// PreHandlers are http.Handlers that are called between the http.Server
// and the buffalo Application.
PreHandlers []http.Handler `json:"-"`
// PreWare takes an http.Handler and returns and http.Handler
// PreWare takes an http.Handler and returns an http.Handler
// and acts as a pseudo-middleware between the http.Server and
// a Buffalo application.
PreWares []PreWare `json:"-"`
Expand All @@ -73,7 +73,7 @@ type Options struct {
cancel context.CancelFunc
}

// PreWare takes an http.Handler and returns and http.Handler
// PreWare takes an http.Handler and returns an http.Handler
// and acts as a pseudo-middleware between the http.Server and
// a Buffalo application.
type PreWare func(http.Handler) http.Handler
Expand Down

0 comments on commit 262b000

Please sign in to comment.