Pārlūkot izejas kodu

Fix JSON property for Link's Rel field

Previously the Rel field would come out as `ref` in the JSON, instead of
`rel`
tags/1.0^0
Matt Baer pirms 5 gadiem
vecāks
revīzija
59112b6531
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      link.go

+ 1
- 1
link.go Parādīt failu

@@ -4,7 +4,7 @@ package webfinger
type Link struct {
HRef string `json:"href"`
Type string `json:"type,omitempty"`
Rel string `json:"ref"`
Rel string `json:"rel"`
Properties map[string]*string `json:"properties,omitempty"`
Titles map[string]string `json:"titles,omitempty"`
}


Notiek ielāde…
Atcelt
Saglabāt