Documentation
¶
Index ¶
- func CheckIsSliceIndex(header string) bool
- func CompNRowsCols(s interface{}) (nrows, ncols int)
- func DescendTreeAndEncode(s interface{}, header string, sliceIndices []int, rowEl string)
- func FillAndAppend(headers, newHeaders []string, rows, newRows [][]string) ([]string, [][]string)
- func Flatten(headerBase string, s interface{}) (headers []string, rows [][]string, err error)
- func FlattenBegin(headerBase string, s interface{}) (headers []string, rows [][]string, err error)
- func FlattenDefault(headerBase string, s interface{}) (headers []string, rows [][]string, err error)
- func FlattenSlice(headerBase string, s interface{}) (headers []string, rows [][]string, err error)
- func FlattenStruct(headerBase string, s interface{}) (headers []string, rows [][]string, err error)
- func Retrieve(sliceVal reflect.Value, index int) reflect.Value
- func Unflatten(f [][]string, s interface{}) (headerBase string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompNRowsCols ¶
func CompNRowsCols(s interface{}) (nrows, ncols int)
CompNRowsCols computes the number of rows and columns necessary to represent object s in a table. TODO test
func DescendTreeAndEncode ¶
DescendTreeAndEncode TODO
func FillAndAppend ¶
FillAndAppend TODO
func FlattenBegin ¶
FlattenBegin TODO TODO Order headers by nesting depth
func FlattenDefault ¶
func FlattenDefault(headerBase string, s interface{}) (headers []string, rows [][]string, err error)
FlattenDefault TODO
func FlattenSlice ¶
FlattenSlice TODO
func FlattenStruct ¶
FlattenStruct TODO
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.