Documentation ¶ Index ¶ Variables type Reader func NewReader() Reader type Writer func NewWriter() Writer Constants ¶ This section is empty. Variables ¶ View Source var ( ErrPleaseAddTagXlsToField = errors.New("please add tag xls to field") ErrSheetDataNotSlice = errors.New("sheet data not slice") ErrorNotStruct = errors.New("not struct") ErrorOutOfRangeIndex = errors.New("out of range index") ) Functions ¶ This section is empty. Types ¶ type Reader ¶ type Reader interface { Read(ctx context.Context, r io.Reader, data interface{}) error } func NewReader ¶ func NewReader() Reader type Writer ¶ type Writer interface { Render(ctx context.Context, data interface{}) ([]byte, error) } func NewWriter ¶ func NewWriter() Writer Source Files ¶ View all Source files constant.goerrors.goreader.goutils.gowriter.go Click to show internal directories. Click to hide internal directories.