Documentation
¶
Index ¶
Constants ¶
const ( Contributor = "contributor" // An entity responsible for making contributions to the resource Coverage = "coverage" // The spatial or temporal topic of the resource, or its jurisdiction Creator = "creator" // An entity primarily responsible for making the resource Date = "date" // A point or period of time associated with the resource Description = "description" // An account of the resource Format = "format" // The file format, physical medium, or dimensions of the resource Identifier = "identifier" // An unambiguous reference to the resource Language = "language" // A language of the resource Publisher = "publisher" // An entity responsible for making the resource available Relation = "relation" // A related resource Rights = "rights" // Information about rights held in and over the resource Source = "source" // A related resource from which the resource is derived Subject = "subject" // The topic of the resource Title = "title" // A name given to the resource Type = "type" // The nature or genre of the resource )
Names of the fifteen elements of the Dublin Core Metadata Element Set, version 1.1, which are keys in the dc namespace, such as meta.New(Namespace, Title, value) (see https://www.dublincore.org/specifications/dublin-core/dces/)
const ( TypeCollection = "Collection" // An aggregation of resources, such as an archive TypeDataset = "Dataset" // Data encoded in a defined structure, such as a spreadsheet TypeEvent = "Event" // A non-persistent, time-based occurrence TypeImage = "Image" // A visual representation other than text TypeInteractiveResource = "InteractiveResource" // A resource requiring interaction from the user, such as a form TypeMovingImage = "MovingImage" // A series of visual representations, such as a video TypePhysicalObject = "PhysicalObject" // An inanimate, three-dimensional object or substance TypeService = "Service" // A system that provides one or more functions TypeSoftware = "Software" // A computer program in source or compiled form TypeSound = "Sound" // A resource primarily intended to be heard TypeStillImage = "StillImage" // A static visual representation, such as a photo TypeText = "Text" // A resource consisting primarily of words for reading )
The terms of the DCMI Type Vocabulary, which are the values of the type element, dc:type, the nature or genre of a resource (see https://www.dublincore.org/specifications/dublin-core/dcmi-type-vocabulary/)
const ( KindArchive = "archive" // An archive of files, such as a zip file KindAudio = "audio" // Audio, such as music or a podcast KindBook = "book" // A book, such as an EPUB or Kindle book KindCalendar = "calendar" // A calendar of events or tasks KindCode = "code" // Source code KindContact = "contact" // A contact, such as a person in an address book KindData = "data" // Structured data, such as JSON or YAML KindDocument = "document" // A document, such as a PDF or Word document, or plain text KindDrawing = "drawing" // A drawing or diagram, such as a Visio drawing KindEmail = "email" // An email message KindEpisode = "episode" // An episode of a TV show KindFilm = "film" // A film, such as a movie KindForm = "form" // A form, which is filled in KindImage = "image" // An image, such as a photo or a drawing KindMailbox = "mailbox" // A mailbox of email messages, such as an mbox file KindPresentation = "presentation" // A presentation of slides KindRecording = "recording" // A recording of music, which MusicBrainz identifies KindSoftware = "software" // Software, such as an application or a library KindSpreadsheet = "spreadsheet" // A spreadsheet KindSubtitles = "subtitles" // Subtitles of a video, such as a SubRip file KindVideo = "video" // A video KindWebPage = "webpage" // A web page )
The kinds of files, which are finer than the DCMI types, such as a book rather than text, as metadata:kind
const (
Namespace = "dc"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.