From ff41c672ce81b57bd8e2a221442be311c69cdf6c Mon Sep 17 00:00:00 2001 From: Gerasimos Maropoulos Date: Wed, 21 Mar 2018 08:59:37 +0200 Subject: [PATCH] misspell fixes Former-commit-id: 7efa2d8641d8fc324231989cbfcc0905f1d90009 --- cache/browser.go | 2 +- cache/browser_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cache/browser.go b/cache/browser.go index 6058dc83..c03f21f5 100644 --- a/cache/browser.go +++ b/cache/browser.go @@ -11,7 +11,7 @@ import ( // CacheControlHeaderValue is the header value of the // "Cache-Control": "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0". // -// It can be overriden. +// It can be overridden. var CacheControlHeaderValue = "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0" const ( diff --git a/cache/browser_test.go b/cache/browser_test.go index 9c2867ba..f7e05085 100644 --- a/cache/browser_test.go +++ b/cache/browser_test.go @@ -31,7 +31,7 @@ func TestNoCache(t *testing.T) { func TestStaticCache(t *testing.T) { t.Parallel() - // test change the time format, which is not reccomended but can be done. + // test change the time format, which is not recommended but can be done. app := iris.New().Configure(iris.WithTimeFormat("02 Jan 2006 15:04:05 GMT")) cacheDur := 30 * (24 * time.Hour)