1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 21:30:49 +00:00

fix #1695 update docs

This commit is contained in:
astaxie 2016-08-19 00:11:19 +08:00
parent 3c016a0b2d
commit 86b3162aff

View File

@ -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)
}