package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Sep 28, 2021
License: Apache-2.0
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.