Simple solution in go to https://kata-log.rocks/ohce-kata.
Clone this repo to your go
workspace. If you don't know what is this, set up your go
development environment by following the instructions.
Then:
go get "github.com/c-bata/go-prompt"
go build
This last command will produce an executable file named ohcekata
. Just run the file by typing
./ohcekata
and enjoy 😬
Simply after build the app, run in the same directory:
go test