1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00
Former-commit-id: 4e30bf6a74acb7d463c7fcf1e9e08ca3147117a7
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-10-06 08:23:03 +03:00
parent 4fb78bbcd9
commit e5600fcf0d
18 changed files with 682 additions and 419 deletions

View File

@@ -18,7 +18,7 @@ func (u *VisitController) Get() {
// get the visits, before calcuate this new one.
visits, _ := u.Session.GetIntDefault("visits", 0)
// increment the visits counter and set them to the session.
// increment the visits and store to the session.
visits++
u.Session.Set("visits", visits)