Adapt comments in feed.go and and entry.go
This commit is contained in:
6
feed.go
6
feed.go
@@ -26,9 +26,9 @@ type Feed struct {
|
||||
Entries []*Entry `xml:"entry,omitempty"`
|
||||
}
|
||||
|
||||
// atom:feed elements MUST NOT contain more than one atom:link
|
||||
// element with a rel attribute value of "alternate" that has the
|
||||
// same combination of type and hreflang attribute values.
|
||||
// atom:feed elements MUST NOT contain more than one atom:link element with a
|
||||
// rel attribute value of "alternate" that has the same combination of type and
|
||||
// hreflang attribute values.
|
||||
func hasAlternateDuplicateLinks(l []*Link) bool {
|
||||
linkMap := make(map[string]bool)
|
||||
|
||||
|
Reference in New Issue
Block a user