grammar fixes(?)

Former-commit-id: bf2ff1df8c841643eb2ebfc8524ba869d02c99b3
This commit is contained in:
Gerasimos (Makis) Maropoulos 2017-12-16 23:12:49 +02:00
parent 68cc6641d4
commit e67621b8ec
2 changed files with 9 additions and 7 deletions

View File

@ -2,15 +2,15 @@ package mvc
import (
"fmt"
"github.com/kataras/golog"
"reflect"
"strings"
"github.com/kataras/iris/mvc/di"
"github.com/kataras/iris/context"
"github.com/kataras/iris/core/router"
"github.com/kataras/iris/core/router/macro"
"github.com/kataras/iris/mvc/di"
"github.com/kataras/golog"
)
// BaseController is the optional controller interface, if it's

View File

@ -31,10 +31,12 @@ type (
}
)
// Destroy destroys this session, it removes all sessions and flash values,
// the session entry from the server and updates the registered session databases,
// note that this method does NOT removes the client's cookie, although
// it should be re-seted if new session is attached to that (client).
// Destroy destroys this session, it removes its session values and any flashes.
// This session entry will be removed from the server,
// the registered session databases will be notified for this deletion as well.
//
// Note that this method does NOT remove the client's cookie, although
// it should be reseted if new session is attached to that (client).
//
// Use the session's manager `Destroy(ctx)` in order to remove the cookie as well.
func (s *Session) Destroy() {