Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.17 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.17 KB

Go Concepts

Repo for basic tutorial-based Golang study


gilded rose

  • 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

original readme

  • 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

resources