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 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
Click to show internal directories.
Click to hide internal directories.