feat/user-templates (#9)
All checks were successful
Go / build (push) Successful in 14s

feat: user templates
This commit was merged in pull request #9.
This commit is contained in:
2025-12-03 21:27:46 +01:00
parent acaece2659
commit 9a5ea229bf
19 changed files with 584 additions and 343 deletions

View File

@@ -25,6 +25,22 @@ Alternatively, you can use Docker for a containerized environment:
docker-compose up --build
```
## Writing Tests
All tests are written using the go standard library and are table driven.
In this application no libraries like testify are used. Mocks are written in
the test file using this schema:
```go
type Mock struct {
Foo func (string) string
}
func (m Mock) Foo(in string) string {
return m.Foo(in)
}
```
## Running Tests
To run all tests for the project, use the following command: