spruce/internal
Dan Anglin 71d62ecaf6
refactor: add golangci-lint with code refactoring
Add golangci-lint for linting and refactor the code based on the
feedback from running it.

Changes:

- Add configuration for golangci-lint.
- Break the large function in create.go into smaller ones.
- Rename internal/templateFuncs to internal/templatefuncs to remove
  upper case letters in the package name.
- Add a mage target for lint tests.
2023-08-21 03:07:06 +01:00
..
cmd refactor: add golangci-lint with code refactoring 2023-08-21 03:07:06 +01:00
cv refactor: add golangci-lint with code refactoring 2023-08-21 03:07:06 +01:00
pdf refactor: add golangci-lint with code refactoring 2023-08-21 03:07:06 +01:00
templatefuncs refactor: add golangci-lint with code refactoring 2023-08-21 03:07:06 +01:00
internal.go fix: use JSON schema to auto-generate the CV type 2023-08-18 23:47:41 +01:00