maroto

module
v2.0.0-alpha.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2023 License: MIT

README

Maroto V2

GoDoc Go Report Card Mentioned in Awesome Go
CI Lint Codecov Visits Badge

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

result

Installation

  • With go get:
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

Stargazers over time

Directories

Path Synopsis
cmd
Package docs is the documentation of pkg.
Package docs is the documentation of pkg.
pkg
components/code
nolint: dupl
nolint: dupl

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL