diff --git a/app.go b/app.go index c008ace7..697e7a07 100644 --- a/app.go +++ b/app.go @@ -147,7 +147,7 @@ type Config struct { // When set to true, converts all encoded characters in the route back // before setting the path for the context, so that the routing, // the returning of the current url from the context `ctx.Path()` - // and the paramters `ctx.Params(%key%)` with decoded characters will work + // and the parameters `ctx.Params(%key%)` with decoded characters will work // // Default: false UnescapePath bool `json:"unescape_path"` diff --git a/internal/isatty/isatty_windows.go b/internal/isatty/isatty_windows.go index 1fa86915..1f0a4a50 100644 --- a/internal/isatty/isatty_windows.go +++ b/internal/isatty/isatty_windows.go @@ -76,7 +76,7 @@ func isCygwinPipeName(name string) bool { } // getFileNameByHandle use the undocomented ntdll NtQueryObject to get file full name from file handler -// since GetFileInformationByHandleEx is not avilable under windows Vista and still some old fashion +// since GetFileInformationByHandleEx is not available under windows Vista and still some old fashion // guys are using Windows XP, this is a workaround for those guys, it will also work on system from // Windows vista to 10 // see https://stackoverflow.com/a/18792477 for details diff --git a/middleware/cache/cache.go b/middleware/cache/cache.go index feb3aaff..e8fc8faf 100644 --- a/middleware/cache/cache.go +++ b/middleware/cache/cache.go @@ -127,7 +127,7 @@ func New(config ...Config) fiber.Handler { e.cencoding = utils.CopyBytes(c.Response().Header.Peek(fiber.HeaderContentEncoding)) e.exp = ts + expiration - // For external Storage we store raw body seperated + // For external Storage we store raw body separated if cfg.Storage != nil { manager.setRaw(key+"_body", e.body, cfg.Expiration) // avoid body msgp encoding