Documentation ¶
Overview ¶
package eml contains structures that represent the EML file format.
Index ¶
- type Abstract
- type Address
- type AltID
- type AssociatedParty
- type BoundingCoordinates
- type CalendarDate
- type Contact
- type Coverage
- type Creator
- type Dataset
- type EML
- type ErrDecoder
- type ErrReader
- type GeographicCoverage
- type IndividualName
- type IntellectualRights
- type Keyword
- type KeywordSet
- type MetadataProvider
- type OrganizationName
- type TemporalCoverage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociatedParty ¶
type AssociatedParty struct { IndividualName *IndividualName `xml:"individualName"` OrganizationName *OrganizationName `xml:"organizationName"` Address *Address `xml:"address,omitempty"` Roles []string `xml:"role"` }
type BoundingCoordinates ¶
type CalendarDate ¶
type CalendarDate struct {
Value string `xml:",chardata"`
}
type Contact ¶
type Contact struct { IndividualName *IndividualName `xml:"individualName"` OrganizationName *OrganizationName `xml:"organizationName"` Address *Address `xml:"address,omitempty"` ElectronicMailAddress string `xml:"electronicMailAddress"` }
type Coverage ¶
type Coverage struct { GeographicCoverage *GeographicCoverage `xml:"geographicCoverage"` TemporalCoverage *TemporalCoverage `xml:"temporalCoverage"` }
type Creator ¶
type Creator struct { ID string `xml:"id,attr"` Scope string `xml:"scope,attr,omitempty"` IndividualName *IndividualName OrganizationName *OrganizationName `xml:"organizationName"` ElectronicMailAddress string `xml:"electronicMailAddress"` }
type Dataset ¶
type Dataset struct { ID string `xml:"id,attr"` AlternativeIdentifier AltID `xml:"alternateIdentifier"` Title string `xml:"title"` Creators []Creator `xml:"creator"` MetadataProviders []MetadataProvider `xml:"metadataProvider"` AssociatedParties []AssociatedParty `xml:"associatedParty"` PubDate string `xml:"pubDate"` Language string `xml:"language"` Abstract Abstract `xml:"abstract"` KeywodSets []KeywordSet `xml:"keywordSet"` IntellectualRights *IntellectualRights `xml:"intellectualRights"` Coverage *Coverage `xml:"coverage"` Contacts []Contact `xml:"contact"` }
type EML ¶
type EML struct { XMLName xml.Name `xml:"eml"` Lang string `xml:"xml:lang,attr"` SchemaLocation string `xml:"xsi:schemaLocation,attr"` Dataset Dataset `xml:"dataset"` }
type ErrDecoder ¶
type ErrDecoder struct {
OrigErr error
}
func (*ErrDecoder) Error ¶
func (e *ErrDecoder) Error() string
type GeographicCoverage ¶
type GeographicCoverage struct { GeographicDescription string `xml:"geographicDescription,omitempty"` BoundingCoordinates *BoundingCoordinates `xml:"boundingCoordinates,omitempty"` }
type IndividualName ¶
type IntellectualRights ¶
type IntellectualRights struct {
Para string `xml:"para"`
}
type KeywordSet ¶
type KeywordSet struct {
Keywords []Keyword `xml:"keyword"`
}
type MetadataProvider ¶
type MetadataProvider struct { IndividualName *IndividualName `xml:"individualName"` OrganizationName *OrganizationName `xml:"organizationName"` Address *Address `xml:"address,omitempty"` ElectronicMailAddress string `xml:"electronicMailAddress"` OnlineURL string `xml:"onlineUrl,omitempty"` }
type OrganizationName ¶
type TemporalCoverage ¶
type TemporalCoverage struct { BeginDate CalendarDate `xml:"beginDate"` EndDate CalendarDate `xml:"endDate"` }
Click to show internal directories.
Click to hide internal directories.