reference

package
v1.9.98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2018 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package reference defines the elements of a <reference> block.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Fullname string `xml:"fullname,attr"`
	Initials string `xml:"initials,attr"`
	Surname  string `xml:"surname,attr"`
}

Author is the reference author.

type Date

type Date struct {
	Year  string `xml:"year,attr,omitempty"`
	Month string `xml:"month,attr,omitempty"`
	Day   string `xml:"day,attr,omitempty"`
}

Date is the reference date.

type Format

type Format struct {
	Type   string `xml:"type,attr,omitempty"`
	Target string `xml:"target,attr"`
}

Format is the reference <format>.

type Front

type Front struct {
	Title  string `xml:"title"`
	Author Author `xml:"author"`
	Date   Date   `xml:"date"`
}

Front the reference <front>.

type Reference

type Reference struct {
	Anchor string `xml:"anchor,attr"`
	Front  Front  `xml:"front"`
	Format Format `xml:"format"`
}

Reference is the entire <reference> structure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL