sbshah97 / surrealdb-go-starter-project

SurrealDB Starter Project using Go
Apache License 2.0
5 stars 2 forks source link

Introduce Pre Commit to ensure Project tests are run before commit #7

Open sbshah97 opened 9 months ago

sbshah97 commented 9 months ago

Use pre-commit hook to run basic go tests and if it passes allow users to commit to the repo

https://goangle.medium.com/golang-improving-your-go-project-with-pre-commit-hooks-a265fad0e02f