Releases: AdikaStyle/go-report-builder
Releases · AdikaStyle/go-report-builder
Screenshot of long reports
Due to issue of chromedp, the screenshot taken, cannot be larger then the viewport size. so when trying to export long report (for example A4) the exported image was cut-off.
go-report-builder
now supports overriding the default view port (1920x2000) using these environment variables:
VIEWPORT_HEIGHT
, VIEWPORT_WIDTH
The Sequence function
When creating a template, you can now use the Sequence(num) function in order to create an integer array with length of num
.
For example:
{{- range $i, $item := .Sequence 3 }}
a
{{- end }}
Will yield:
a
a
a
Docker Support
v0.14 Adding missing chrome app to the docker file
Docker support
v0.13 Adding docker publish workflow
First Release
v0.12 Adding release workflow