excelstruct is a comprehensive Go package that simplifies working with Excel files by allowing you to easily encode and decode structs example. Built on top of the powerful excelize library, it offers a solution for dealing with excel data in a structured and type-safe manner.
- Type Safety: Work directly with Go structs, leveraging Go's type system
- Custom Type Support: Easily handle custom types with marshaler and unmarshaler interfaces
- Slice and Array Support: Encode and decode slices and arrays seamlessly
- Flexible Type Conversion: Built-in type conversion options eliminate the need for custom types in many cases
- Style Support: Apply Excel styles
- Data validation: Add data validation and column oriented helping for sqref
Go version 1.22+
go get github.com/itcomusic/excelstruct