package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 23, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func Generate(item interface{}, resource, baseUrl string)
type Hateoas struct {
Links []link `json:"_links" example:"http(s)://<DOMAIN_OR_IP>/item/{id}"`
Embeded []link `json:"_embeded" example:"http(s)://<DOMAIN_OR_IP>/item/{id}"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.