books

package
v0.0.0-...-9243753 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 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