books

package
v0.0.0-...-d9421b2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookForm

type BookForm struct {
	Author  string    `xml:"urn:books author"`
	Title   string    `xml:"urn:books title"`
	Genre   string    `xml:"urn:books genre"`
	Price   float32   `xml:"urn:books price"`
	Pubdate time.Time `xml:"urn:books pub_date"`
	Review  string    `xml:"urn:books review"`
	Name    string    `xml:"urn:books name,attr,omitempty"`
}

func (*BookForm) MarshalXML

func (t *BookForm) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*BookForm) UnmarshalXML

func (t *BookForm) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

type BooksForm

type BooksForm struct {
	Book []BookForm `xml:"urn:books book,omitempty"`
}

Jump to

Keyboard shortcuts

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