books

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 4 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:"author"`
	Title   string    `xml:"title"`
	Genre   string    `xml:"genre"`
	Price   float32   `xml:"price"`
	Pubdate time.Time `xml:"pub_date"`
	Review  string    `xml:"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:"book,omitempty"`
}

Jump to

Keyboard shortcuts

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