First implementation of an atom feed

This commit is contained in:
2024-10-13 17:19:40 +02:00
parent 520c2de196
commit 92c794d070
23 changed files with 805 additions and 0 deletions

16
logo.go Normal file
View File

@@ -0,0 +1,16 @@
package atomfeed
import "errors"
type Logo struct {
*CommonAttributes
URI URI `xml:"uri"`
}
func (l *Logo) Check() error {
if l.URI == "" {
return errors.New("uri element of logo empty")
}
return nil
}