Skip to content

itcomusic/excelstruct

Repository files navigation

Excel Go binding struct

build-img pkg-img coverage-img

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.

Features

  • 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

Installation

Go version 1.22+

go get github.com/itcomusic/excelstruct

License

MIT License

About

An Excel binding to struct Go

Topics

Resources

License

Stars

Watchers

Forks

Languages