Discover Packages
github.com/keenfury/go-api-base
internal
shared
package
Version:
v0.0.0-...-1fb6433
Opens a new window with list of versions in this module.
Published: Apr 13, 2022
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
Documentation
¶
type Error struct {
Id string `json:"Id,omitempty"`
Title string `json:"Title,omitempty"`
Detail string `json:"Detail,omitempty"`
Status string `json:"Status,omitempty"`
}
type JsonApi struct {
Version string `json:"version"`
}
type Output struct {
JsonApi `json:"jsonapi"`
Payload interface{} `json:"data,omitempty"`
*Error `json:"error,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.