Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.18 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.18 KB

KeiReport

Golang based reporting engine. Generating PDF, HTML, Docx and more using simple template. Getting data from database, csv and more

Features

  • 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

Related Project

Installation

To install the package to your system, run :

go get github.com/kodernubie/keireport

Quick Start

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

License

kodernubie/keireport is released under the MIT License.

Roadmap

  • Generate to DocX
  • Specialized template for spreadsheet
  • Barcode, QR code