Maroto V2
A Maroto way to create PDFs. Maroto is inspired in Bootstrap and uses Gofpdf. Fast and simple.
Maroto definition: Brazilian expression, means an astute/clever/intelligent person.
You can write your PDFs like you are creating a site using Bootstrap. A Row may have many Cols, and a Col may have many components.
Besides that, pages will be added when content may extrapolate the useful area. You can define a header which will be added
always when a new page appear, in this case, a header may have many rows, lines or tablelist.
- You can see the full documentation here.
- Discussions are being addressed in this issue.
- Roadmap is presented here.
- Releases notes can be found here
Installation
go get github.com/johnfercher/maroto/v2/pkg@v2.0.0-alpha.30
Contributing
Command |
Description |
Dependencies |
make build |
Build project |
go |
make test |
Run unit tests |
go |
make fmt |
Format files |
gofmt , gofumpt and goimports |
make lint |
Check files |
golangci-lint |
make dod |
(Definition of Done) Format files and check files |
Same as make build , make test , make fmt and make lint |
make install |
Install all dependencies |
go , curl and git |
make font |
Extract font ut8 to use in development |
tar |
make examples |
Run all examples |
go |
make mock |
Generate mocks |
go and mockery |
make docs |
Run docs serve local |
docsify |
Stargazers over time