Repository navigation
fix(texttemplate): satisfy linter rules - #185
Conversation
…and refresh conformance cases The fork brought upstream text/template code under this repo's golangci-lint rules, which failed main with 14 findings. Rename sentinel errors to errFoo, use camelCase test names, return error last, collapse an else-if, check an ignored Parse error, and use log.Panic in examples so deferred cleanup runs. Each change is tagged gomplate: lint and does not change behaviour. Regenerate conformance.json, which was stale after GO_TEMPLATE.md gained the values provider examples. Claude-Session-Id: 9cbaec31-655b-4670-a331-adddc1c8c5d2
|
No actionable comments were generated in the recent review. WalkthroughThis change updates template example error handling and file cleanup, renames internal range-control sentinels, adjusts tests, and clarifies that upstream lint-only changes do not affect behavior. ChangesTemplate package maintenance
Suggested reviewers: Change: Refactor Merge Risk:
|
BenchstatBase: 1 improvement(s)
Full benchstat output |
Summary by CodeRabbit