package response type JsonInterface interface { SetCode(code int) SetMessage(msg string) SetData(data interface{}) SetStatus(status bool) ToString() (str string, err error) }