Versions in this module Expand all Collapse all v1 v1.1.1 Oct 17, 2023 Changes in this version + var MessageTemples = map[string]string + func ExportCsv(ctx *beegoContext.Context, title []string, dataList [][]string, ...) error + func ExportExcel(w http.ResponseWriter, r *http.Request, titleList []string, ...) + func InitValidate() + func Valid(obj interface{}, validate interface{}) (error string) + type Content map[string]interface + type Context struct + Method string + Path string + Req *beegoContext.Context + StatusCode int + Writer *beegoContext.Response + func NewContext(ctx *beegoContext.Context) *Context + func (ctx *Context) JsonParams(params map[string]interface{}) + func (ctx *Context) OtuPut(code int, data []byte) + func (ctx *Context) OtuPutHtml(code int, html string) + func (ctx *Context) OtuPutJson(code int, obj interface{}) + func (ctx *Context) OtuPutString(code int, format string, values ...interface{}) + func (ctx *Context) PostForm(key string) string + func (ctx *Context) Query(key string) string + func (ctx *Context) SetHeader(key string, value string) + func (ctx *Context) SetStatus(code int) + type ReturnMsg struct + Code int + Data interface{} + Msg string