[list] print absolute url in json output

This commit is contained in:
lapwat
2023-02-18 00:01:48 +01:00
parent efcc45316b
commit 8fd0a12620
4 changed files with 15 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
package book
type link struct {
Href string `json:"href"`
Href string `json:"url"`
Text string `json:"name"`
}