From 262b000117dda00393189be4eb321cd2738d373f Mon Sep 17 00:00:00 2001 From: Mike Lloyd Date: Tue, 25 Jan 2022 15:27:51 -0800 Subject: [PATCH] Fix typo in doc for PreWare and PreWares --- options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.go b/options.go index 3b180bdc4..ebaa963c6 100644 --- a/options.go +++ b/options.go @@ -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:"-"` @@ -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