Releases: svengreb/tmpl-go
0.2.0
Features
Basic testing in CI workflow — #10 ⇄ #11 (⊶ f65759e)
↠ Before the CI workflow only ran Node and Go based linters, but doesn't took Go tests into account. This has been changed by adding a new job to run tests with Go's official go test
command with enabled coverage and race detector.
The full changelog is available here
0.1.1
Bug Fixes
YAML multiline string without "block chomping" for config go-header linter causes golangci-lint to fail — #6 ⇄ #7 (⊶ 910c06f)
↠ The configuration of the go-header linter is defined in the golangci-lint YAML configuration, but the YAML multiline-string doesn't used "block chomping which resulted in a final newline at the end of the template.
This caused golangci-lint to fail because the configured template content doesn't match the parsed text.
To fix this problem the YAML block chomping syntax is now used for the multiline-string so that the final newline at the end gets stripped.
Invalid branch & CI workflow name in README badges — #8 ⇄ #9 (⊶ e138ca1)
↠ The name of the branch for the badge URL of the repository changelog was master
instead of main
and the GitHub CI action workflow used the uppercase name CI
instead of ci
.
The full changelog is available here
0.1.0
This is the initial release version of tmpl-go.
The basic project setup, structure and development workflow has been bootstrapped by the base tmpl template repository.
The additional Go specific initial configurations and documentations are covered in the following sections of this version changelog to introduce used technologies and explain why several decisions have been made.
Features
Bootstrap from "tmpl" base template repository — #1 (⊶ 87400d3)
↠ Bootstrapped the basic project setup, structure and development workflow from version 0.3.0 of the base "tmpl" template repository.
Additionally specific assets like the repository hero image were also added.
Go Module — #1 ⇄ #3 (⊶ 52bea37)
↠ tmpl-go uses the currently latest Go version 1.15.0 with Go Modules and github.com/svengreb/tmpl-go
as module name.
Code quality with "golangci-lint" — #4 ⇄ #5 (⊶ b20e205)
↠ To ensure a good code quality the Go ecosystem has hundreds of linters, each with a different purpose. Instead of installing and running multiple linters separately golangci-lint provides a uniform interface to run most popular and useful linters in parallel and with many additional configuration features.
The actual runner is open source and can be used locally as well in any private CI/CD pipeline. In order to use it for tmpl-go, a .golangci.yml
configuration file has been added.
The runner is used in the the existing CI GitHub action workflow through the golangci-lint-action GitHub action that has been created by the golangci-lint maintainers.
The full changelog is available here