Imports github.com/astaxie/beego github.com/astaxie/beego/context github.com/astaxie/beego/session Standard library imports encoding/json errors fmt io net/http net/http/httptest runtime strconv strings sync