xml

package
v0.0.0-...-dec35dd Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	LongType   *string `json:",omitempty" xmlify:"omitempty,path=@lg"`
	IntType    *string `json:",omitempty" xmlify:"omitempty,path=@long"`
	DoubleType *string `json:",omitempty" xmlify:"omitempty,path=@db"`
	DateType   *string `json:",omitempty" xmlify:"omitempty,path=@ts"`
	Value      *string `json:",omitempty" xmlify:"omitempty,omittagname"`
	ValueAttr  *string `json:",omitempty" xmlify:"omitempty,path=@nil"`
}

Column represents a column value

type ColumnHeader

type ColumnHeader struct {
	ID   string `json:",omitempty" xmlify:"path=@id"`
	Type string `json:",omitempty" xmlify:"path=@type"`
}

ColumnHeader represents column header

type ColumnHolder

type ColumnHolder struct {
	Columns []*ColumnHeader `xmlify:"name=column"`
}

ColumnHolder represents a column holder

type Filter

type Filter struct {
	Name          string
	Tag           format.Tag
	IncludeString []string `json:",omitempty" xmlify:"omitempty"`
	ExcludeString []string `json:",omitempty" xmlify:"omitempty"`
	IncludeInt    []int    `json:",omitempty" xmlify:"omitempty"`
	ExcludeInt    []int    `json:",omitempty" xmlify:"omitempty"`
	IncludeBool   []bool   `json:",omitempty" xmlify:"omitempty"`
	ExcludeBool   []bool   `json:",omitempty" xmlify:"omitempty"`
}

Filter represents filter

type FilterHolder

type FilterHolder struct {
	Filters []*Filter
}

FilterHolder represents filter holder

func (*FilterHolder) MarshalXML

func (f *FilterHolder) MarshalXML() ([]byte, error)

MarshalXML customizes XML marshaling

type Row

type Row struct {
	Columns []*Column `xmlify:"name=c"`
}

Row defines tabular row

type RowsHolder

type RowsHolder struct {
	Rows []*Row `xmlify:"name=r"`
}

RowsHolder represents rows holder

type Tabular

type Tabular struct {
	ColumnsWrapper ColumnHolder `xmlify:"name=columns"`
	RowsWrapper    RowsHolder   `xmlify:"name=rows"`
}

Tabular represents tabular holder

Jump to

Keyboard shortcuts

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