misspell fixes

Former-commit-id: 7efa2d8641d8fc324231989cbfcc0905f1d90009
This commit is contained in:
Gerasimos Maropoulos 2018-03-21 08:59:37 +02:00
parent 7b2409fc7f
commit ff41c672ce
2 changed files with 2 additions and 2 deletions

2
cache/browser.go vendored
View File

@ -11,7 +11,7 @@ import (
// CacheControlHeaderValue is the header value of the // CacheControlHeaderValue is the header value of the
// "Cache-Control": "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0". // "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" var CacheControlHeaderValue = "private, no-cache, max-age=0, must-revalidate, no-store, proxy-revalidate, s-maxage=0"
const ( const (

View File

@ -31,7 +31,7 @@ func TestNoCache(t *testing.T) {
func TestStaticCache(t *testing.T) { func TestStaticCache(t *testing.T) {
t.Parallel() 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")) app := iris.New().Configure(iris.WithTimeFormat("02 Jan 2006 15:04:05 GMT"))
cacheDur := 30 * (24 * time.Hour) cacheDur := 30 * (24 * time.Hour)