package
Version:
v0.0.0-...-9ad592c
Opens a new window with list of versions in this module.
Published: Oct 22, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Response struct {
Code int `json:"-"`
Pretty bool `json:"-"`
Data interface{} `json:"data,omitempty"`
Message interface{} `json:"message"`
}
Response in order to unify the returned response structure
sends a JSON response with status code.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.