package
Version:
v0.0.0-...-3c02852
Opens a new window with list of versions in this module.
Published: Jun 22, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Error struct {
Field string `json:"field"`
Message string `json:"message"`
}
Error struct
type JSONMeta struct {
Page int `json:"page"`
Limit int `json:"limit"`
TotalRecords int `json:"totalRecords"`
TotalPages int `json:"totalPages"`
}
JSONMeta struct
type Response struct {
Success bool `json:"success"`
Code int `json:"code"`
Message string `json:"message"`
Meta interface{} `json:"meta,omitempty"`
Data interface{} `json:"data,omitempty"`
Errors interface{} `json:"errors,omitempty"`
}
Response struct
JSONResponse func response
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.