Design Patterns in Golang How to implement design patterns in Go? Running $ go run . Testing $ go test ./... -v --cover Coverage $ go test ./... -v --cover -coverprofile cover.out $ go tool cover -html=cover.out -o cover.html Related article Áp dụng design patterns với Go