hateoas

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(item interface{}, resource, baseUrl string)

Types

type Hateoas

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}"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL