schema

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyType1

type MyType1 string

MyType1 ...

type MyType2

type MyType2 struct {
	XMLName xml.Name `xml:"myType2"`
	Length  int      `xml:"length,attr,omitempty"`
	Value   string   `xml:",chardata"`
}

MyType2 ...

type MyType3

type MyType3 struct {
	XMLName xml.Name `xml:"myType3"`
	Length  int      `xml:"length,attr,omitempty"`
	Value   string   `xml:",chardata"`
}

MyType3 ...

type MyType4

type MyType4 struct {
	XMLName   xml.Name `xml:"myType4"`
	Title     string   `xml:"title"`
	Blob      string   `xml:"blob"`
	Timestamp string   `xml:"timestamp"`
}

MyType4 ...

type MyType6

type MyType6 struct {
	Code       string `xml:"code,attr,omitempty"`
	Identifier int    `xml:"identifier,attr,omitempty"`
}

MyType6 ...

type MyType7

type MyType7 struct {
	Origin string `xml:"origin,attr"`
	Value  string `xml:",chardata"`
}

MyType7 ...

type TopLevel

type TopLevel struct {
	Cost        float64   `xml:"cost,attr,omitempty"`
	LastUpdated string    `xml:"LastUpdated,attr,omitempty"`
	Nested      *MyType7  `xml:"nested,omitempty"`
	Nested2     MyType7   `xml:"nested2"`
	MyType1     []string  `xml:"myType1,omitempty"`
	MyType2     []MyType2 `xml:"myType2,omitempty"`
	MyString    *string   `xml:"myString,omitempty"`
	MyInt       *int      `xml:"myInt,omitempty"`
	*MyType6
}

TopLevel ...

Jump to

Keyboard shortcuts

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