cbb966af

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Enforce external test packages in all Go test files (#44)

Add dev-scripts/check-go-test-packages, which verifies that every
tracked *_test.go file declares a package ending in _test.

Wire it into the pre-commit hook and add a corresponding Nix build step
in flake.nix.

Co-authored-by: Shelley <shelley@exe.dev>

Reviewed-on: https://codeberg.org/mtlynch/go-app-starter/pulls/44
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>