mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
blog/atom: support atom:link as in RFC4287 4.2.7
Change-Id: Id704a4b1f0deca1e9b090dd1fc21e7b1b55478ec Reviewed-on: https://go-review.googlesource.com/36281 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
1a60337c22
commit
bd1cf89d8f
@ -34,8 +34,12 @@ type Entry struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Link struct {
|
type Link struct {
|
||||||
Rel string `xml:"rel,attr"`
|
Rel string `xml:"rel,attr,omitempty"`
|
||||||
Href string `xml:"href,attr"`
|
Href string `xml:"href,attr"`
|
||||||
|
Type string `xml:"type,attr,omitempty"`
|
||||||
|
HrefLang string `xml:"hreflang,attr,omitempty"`
|
||||||
|
Title string `xml:"title,attr,omitempty"`
|
||||||
|
Length uint `xml:"length,attr,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Person struct {
|
type Person struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user