Documentation ¶
Overview ¶
Package mods holds data structures to simplify unmarshaling the Issue XML which holds lots of MODS structures
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { RelatedItems []RelItem `xml:"relatedItem"` OriginInfos []OriginInfo `xml:"originInfo"` Parts []Part `xml:"part"` Rights string `xml:"accessCondition"` }
Data holds the meat of the issue XML
type DateIssued ¶
DateIssued holds dates and qualifiers like "questionable"
type Detail ¶
type Detail struct { Type string `xml:"type,attr"` Number string `xml:"number"` Caption string `xml:"caption"` }
Detail holds numbers (which aren't really numbers) and captions. The type attribute tells us what the number and/or caption mean.
type ID ¶
ID represents an id label and an id type; for our uses this is primarily just the issue's LCCN
type OriginInfo ¶
type OriginInfo struct {
Dates []DateIssued `xml:"dateIssued"`
}
OriginInfo holds issue date and date-as-labeled
Click to show internal directories.
Click to hide internal directories.