Repo for basic tutorial-based Golang study
- this is a 'famous' exercise, which is supposed to be a refactoring kata
- the task is to refactor the code in a way, that it's easier to understand and maintain
- code has been copied from original repo
- Run :
go run texttest_fixture.go [<number-of-days>; default: 2]
- Run tests :
go test ./...
- Run tests and coverage :
go test ./... -coverprofile=coverage.out
go tool cover -html=coverage.out