Delete useless lines from README
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user