From 4c1525d84968a5302ce2d87f923b84b56c5777eb Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Sun, 6 Sep 2026 23:52:13 +0200 Subject: feat(cardmarket): implement some endpoints of the v2 api --- src/cardmarket/hateoas.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/cardmarket/hateoas.go (limited to 'src/cardmarket/hateoas.go') diff --git a/src/cardmarket/hateoas.go b/src/cardmarket/hateoas.go new file mode 100644 index 0000000..c3cd92c --- /dev/null +++ b/src/cardmarket/hateoas.go @@ -0,0 +1,9 @@ +package cardmarket + +type Link struct { + Relationship string `json:"rel"` + Endpoint string `json:"href"` + Method string `json:"method"` +} + +type Links = []Link -- cgit v1.2.3