mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 04:01:29 +00:00
fix #1695 update docs
This commit is contained in:
parent
3c016a0b2d
commit
86b3162aff
@ -337,7 +337,7 @@ func (input *BeegoInput) Cookie(key string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Session returns current session item value by a given key.
|
// Session returns current session item value by a given key.
|
||||||
// if non-existed, return empty string.
|
// if non-existed, return nil.
|
||||||
func (input *BeegoInput) Session(key interface{}) interface{} {
|
func (input *BeegoInput) Session(key interface{}) interface{} {
|
||||||
return input.CruSession.Get(key)
|
return input.CruSession.Get(key)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user