Teaches basic Go concepts and syntax by example.
- Install Go with your favorite package manager or from the official downloads link.
- Clone this repo.
- Run
go test
. - Make the failing tests pass, by replacing these types of
__variables__
with real values.
If you want to have go test
be run in your terminal any time you save a file and
are using a Mac, take a look at fswatch.
Bookmark the spec and the
packages listing. You can also
run the Go website locally with godoc -http=:8080
.
Add this to your ~/.vimrc
file:
set rtp+=/usr/local/opt/go/misc/vim
filetype plugin indent on
syntax on
(add-to-list 'load-path "/usr/local/opt/go/misc/emacs" t)
(require 'go-mode-load)