1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-06-07 21:07:08 +03:00
parent 9c92952a40
commit 7af5f139e0
40 changed files with 73 additions and 73 deletions

View File

@@ -54,7 +54,7 @@ func main() {
//set session values
s.Set("name", "iris")
//test if setted here
//test if set here
ctx.Writef("All ok session value of the 'name' is: %s", s.GetString("name"))
})
@@ -64,7 +64,7 @@ func main() {
// set session values
s.Set(key, value)
// test if setted here
// test if set here
ctx.Writef("All ok session value of the '%s' is: %s", key, s.GetString(key))
})
@@ -75,7 +75,7 @@ func main() {
// set session values
s.Set(key, value)
valueSet := s.Get(key)
// test if setted here
// test if set here
ctx.Writef("All ok session value of the '%s' is: %v", key, valueSet)
})