Skip to content

Commit

Permalink
fix: omitempty comicinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
metafates committed Oct 31, 2022
1 parent 8f441a9 commit 02c7dd0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/comicinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ type ComicInfo struct {
XmlnsXsd string `xml:"xmlns:xsd,attr"`

// General
Title string `xml:"Title"`
Series string `xml:"Series"`
Number int `xml:"Number"`
Web string `xml:"Web"`
Genre string `xml:"Genre"`
PageCount int `xml:"PageCount"`
Summary string `xml:"Summary"`
Count int `xml:"Count"`
Characters string `xml:"Characters"`
Title string `xml:"Title,omitempty"`
Series string `xml:"Series,omitempty"`
Number int `xml:"Number,omitempty"`
Web string `xml:"Web,omitempty"`
Genre string `xml:"Genre,omitempty"`
PageCount int `xml:"PageCount,omitempty"`
Summary string `xml:"Summary,omitempty"`
Count int `xml:"Count,omitempty"`
Characters string `xml:"Characters,omitempty"`
Year int `xml:"Year,omitempty"`
Month int `xml:"Month,omitempty"`
Day int `xml:"Day,omitempty"`
Writer string `xml:"Writer,omitempty"`
Penciller string `xml:"Penciller,omitempty"`
Letterer string `xml:"Letterer,omitempty"`
Translator string `xml:"Translator,omitempty"`
Tags string `xml:"Tags"`
Notes string `xml:"Notes"`
Manga string `xml:"Manga"`
Tags string `xml:"Tags,omitempty"`
Notes string `xml:"Notes,omitempty"`
Manga string `xml:"Manga,omitempty"`
}

0 comments on commit 02c7dd0

Please sign in to comment.