relay/vendor/git.ptzo.gdn/feditools/go-lib/link.go
Tyr Mactire 73e3f41856
use go-lib in git.ptzo.gdn (#163)
Reviewed-on: https://git.ptzo.gdn/feditools/relay/pulls/163
Co-authored-by: Tyr Mactire <tyr@pettingzoo.co>
Co-committed-by: Tyr Mactire <tyr@pettingzoo.co>
2022-11-27 00:23:47 +00:00

10 lines
263 B
Go

package lib
// Link represents a link.
type Link struct {
Href string `json:"href,omitempty"`
Rel string `json:"rel,omitempty" xml:"rel,attr"`
Template string `json:"template,omitempty" xml:"template,attr"`
Type string `json:"type,omitempty"`
}