mirror of
https://github.com/astaxie/beego.git
synced 2025-07-27 06:55:31 +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.
|
// 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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user