package
Version:
v0.0.0-...-3ddb297
Opens a new window with list of versions in this module.
Published: Jun 2, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Resp struct {
Error RespError `json:"error"`
Data interface{} `json:"data"`
}
func (r *Resp) SetData(data interface{}) *Resp
type RespError struct {
Code int `json:"code"`
Message string `json:"message"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.