Documentation ¶
Index ¶
- type Options
- type Xlst
- func (m *Xlst) OpenBinaryTemplate(content []byte) error
- func (m *Xlst) OpenFileTemplate(path string) error
- func (m *Xlst) OpenReaderAtTemplate(r io.ReaderAt, size int64) error
- func (m *Xlst) Render(in interface{}) error
- func (m *Xlst) RenderWithOptions(in interface{}, options *Options) error
- func (m *Xlst) Save(path string) error
- func (m *Xlst) Write(writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
WrapTextInAllCells bool
}
Options for render has only one property WrapTextInAllCells for wrapping text
type Xlst ¶
type Xlst struct {
// contains filtered or unexported fields
}
Xlst Represents template struct
func (*Xlst) OpenBinaryTemplate ¶
OpenBinaryTemplate reads template from []byte and stores it in a struct
func (*Xlst) OpenFileTemplate ¶
ReadTemplate reads template from disk and stores it in a struct
func (*Xlst) OpenReaderAtTemplate ¶
ReadTemplate reads template from reader and stores it in a struct
func (*Xlst) RenderWithOptions ¶
RenderWithOptions renders report with options provided and stores it in a struct
Click to show internal directories.
Click to hide internal directories.