Documentation ¶
Index ¶
Constants ¶
View Source
const CHECKSUMFILE = "001_Pruefsumme_Checksum.txt"
View Source
const SYNCTIMELAYOUT = time.RFC3339
Variables ¶
This section is empty.
Functions ¶
func GetControlfield ¶
func GetControlfield(doc *marc21struct.Record, tag string) []string
func GetSubfield ¶
func GetSubfield(doc *marc21struct.Record, tag, ind1, ind2, code string) []string
func IsNotFound ¶
Types ¶
type Controlfield ¶
type Controlfield struct { Tag string `xml:"tag,attr" json:"tag" example:"001"` Text string `xml:",chardata" json:"text" example:"1298776236"` Type string `xml:"-" json:"-"` }
Controlfield contains a controlfield entry
type Controlfields ¶
type Controlfields []*Controlfield
type Datafield ¶
type Datafield struct { Tag string `xml:"tag,attr" json:"tag" example:"075"` Ind1 string `xml:"ind1,attr" json:"ind1,omitempty" example:" "` Ind2 string `xml:"ind2,attr" json:"ind2,omitempty" example:" "` Subfields []*Subfield `xml:"subfield" json:"subfield,omitempty"` }
Datafield contains a datafield entry
Click to show internal directories.
Click to hide internal directories.