Golang based reporting engine. Generating PDF, HTML, Docx and more using simple template. Getting data from database, csv and more
- JSON based template
- Simple band system : title - header - detail - footer
- Datasource : DB, CSV
- Label, Rect, Image
- Parameterized value in text, image
- Custom font embedding
- Generate to PDF, HTML
View our roadmap for upcoming feature
To install the package to your system, run :
go get github.com/kodernubie/keireport
Following code load report template from file and generate to pdf
import "github.com/kodernubie/keireport"
...
rpt, err := keireport.LoadFromFile("simple.krpt")
if err == nil {
rpt.GenToFile("simple.pdf")
}
For more usage examples you can check "example" directory
kodernubie/keireport
is released under the MIT License.
- Generate to DocX
- Specialized template for spreadsheet
- Barcode, QR code