mirror of
https://github.com/go-sigma/sigma.git
synced 2026-10-29 00:04:34 +08:00
Raise the validators package coverage from 49.2% to 97.1% with table-driven tests for every validation function and fold the repetitive RegisterValidation checks in newValidator into one loop. Move the repository mocks out of the packages under test into per-domain mocks subpackages, update the //go:generate directives and test imports, skip the mocks packages in the CI test matrix and drop the unused Codecov config. Default InitializeIntegration to the turso dialect so integration tests run locally without a PostgreSQL server.