Skip to content

Commit

Permalink
fix typo (#1442)
Browse files Browse the repository at this point in the history
paramters -> parameters
avilable  -> available
seperated -> separated
  • Loading branch information
ktakenaka authored Jul 17, 2021
1 parent dd45be6 commit f533826
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion internal/isatty/isatty_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion middleware/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f533826

Please sign in to comment.