mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 20:10:40 +00:00
fix #1695 update docs
This commit is contained in:
@ -337,7 +337,7 @@ func (input *BeegoInput) Cookie(key string) string {
|
||||
}
|
||||
|
||||
// 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{} {
|
||||
return input.CruSession.Get(key)
|
||||
}
|
||||
|
Reference in New Issue
Block a user