xml: aqwari.net/xml/gentests/books Index | Files

package books

import "aqwari.net/xml/gentests/books"

Index

Package Files

books.go

type BookForm Uses

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 Uses

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

func (*BookForm) UnmarshalXML Uses

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

type BooksForm Uses

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

Package books imports 3 packages (graph). Updated 2019-05-26. Refresh now. Tools for package owners.