Delete useless lines from README

This commit is contained in:
Jason Streifling 2024-10-20 12:06:09 +02:00
parent a49e853efb
commit 8a00759c4b

View File

@ -30,8 +30,6 @@ import (
func main() {
feed := atom.NewFeed("Example Feed")
feed.Title = atom.NewText("text", "Example Feed")
feed.ID = atom.NewID(atom.NewURN())
if err := feed.Check(); err != nil {
log.Fatalln(err)
}
@ -44,7 +42,6 @@ func main() {
feed.AddAuthor(author)
entry := atom.NewEntry("First Entry")
entry.ID = atom.NewID(atom.NewURN())
entry.Content = atom.NewContent(atom.InlineText, "text", "This is the content of the first entry.")
if err := entry.Check(); err != nil {
log.Fatalln(err)