/design-patterns-go-study

Study of design patterns in Go.

Primary LanguageGo

Design Patterns in Go

CircleCI codecov

Studies following Refactoring Guru

Remember

A pattern isn’t just a recipe for structuring your code in a specific way. It can also communicate to other developers the problem the pattern solves.

Tests

  • Unit tests:
make test

or

go test ./... -race -coverprofile=coverage.out -covermode=atomic
  • Coverage
make test-cov

or

go test ./... -race -coverprofile=coverage.out -covermode=atomic && go tool cover -html=./coverage.out -o coverage.html