基本用法¶
写数据
// string func (c *Context) String(code int, format string, values ...interface{}) // json func (c *Context) JSON(code int, obj interface{})
写数据
// string
func (c *Context) String(code int, format string, values ...interface{})
// json
func (c *Context) JSON(code int, obj interface{})