Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(path string, t interface{}) interface{}
func WriteParamsErrorData ¶
Types ¶
type ErrorRet ¶
type ErrorRet struct { Status int `json:"status"` Error interface{} `json:"error"` }
func NewErrorRet ¶
type ParamsError ¶
type ParamsError struct { }
type SuccessRet ¶
type SuccessRet struct { Status int `json:"status"` Data interface{} `json:"data"` }
func NewSuccessRet ¶
func NewSuccessRet(data interface{}) *SuccessRet
Click to show internal directories.
Click to hide internal directories.