Versions in this module Expand all Collapse all v1 v1.1.0 Apr 5, 2020 Changes in this version type OptionFn + func WithUpload(r *http.Request, filenameKey string) OptionFn type Xlsx + func (x *Xlsx) Download(w http.ResponseWriter, filename string) error v1.0.0 Mar 30, 2020 Changes in this version + func ConvertNumberToFloat64(v interface{}) (float64, bool) + func ParseJavaTimeFormat(layout string) string + type Option struct + InputFile string + TemplateFile string + type OptionFn func(*Option) + func WithInputFile(f string) OptionFn + func WithTemplate(f string) OptionFn + type T interface + type Xlsx struct + func New(optionFns ...OptionFn) (xlsx *Xlsx, err error) + func (x *Xlsx) Close() error + func (x *Xlsx) Read(slicePtr interface{}) error + func (x *Xlsx) Save(w io.Writer) error + func (x *Xlsx) SaveToFile(file string) error + func (x *Xlsx) Write(beans interface{})