From 86b3162afffda5b9b8d1c363d6712b0ded1fc1e9 Mon Sep 17 00:00:00 2001 From: astaxie Date: Fri, 19 Aug 2016 00:11:19 +0800 Subject: [PATCH] fix #1695 update docs --- context/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context/input.go b/context/input.go index 1683060e..1e051784 100644 --- a/context/input.go +++ b/context/input.go @@ -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) }