mkdir -p $GOPATH/src/github.com/sujithps/
git clone git@github.com:sujithps/go-koans.git
- Run
go test
. - Make the failing tests pass, by replacing these types of
__variables__
with real values.
$ ./docker.sh
Unable to find image 'golang:1.16.6-alpine' locally
1.16.6-alpine: Pulling from library/golang
5843afab3874: Pull complete
3d8dd7cab735: Pull complete
4cac70760d29: Pull complete
1edffed539bd: Pull complete
a4005d2dc874: Pull complete
Digest: sha256:bc2db47c5f4a682f1315e0d484811d65bf094d3bcd824459b170714c91656190
Status: Downloaded newer image for golang:1.16.6-alpine
about_basics.go:4
assert(__bool__ == true) // what is truth?
exit status 1
FAIL github.com/sujithps/go-koans 0.004s
Bookmark the spec and the packages listing.
You can also run the Go website locally with godoc -http=:8080
.
If you have an interest in a more fancy vim setup, I urge you to consider the post on the Go Development Environment for Vim on the Gopher Academy Blog.
Jacek Wysocki has provided some nice Go Koans helper scripts for Emacs users at exu/go-koans.el