39 lines
992 B
Markdown
39 lines
992 B
Markdown
## Go Koans
|
|
|
|
Want to learn Go? Want to do it easily? Want to have fun with it? Want lots of money?
|
|
|
|
I can't help you out with that last one. Sorry.
|
|
|
|
### Usage
|
|
|
|
First, [install Go](http://code.google.com/p/go/downloads/list). Then:
|
|
|
|
$ go test
|
|
|
|
Now 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](http://github.com/sdegutis/fswatch).
|
|
|
|
### Helpful References
|
|
|
|
Bookmark the [spec](http://golang.org/ref/spec) and the
|
|
[packages listing](http://golang.org/pkg/). You can also
|
|
run the Go website locally with `godoc -http=:8080`.
|
|
|
|
### Go support in Vim
|
|
|
|
Add this to your `~/.vimrv` file:
|
|
|
|
set rtp+=/usr/local/go/misc/vim
|
|
filetype plugin indent on
|
|
syntax on
|
|
|
|
### Benefaxion
|
|
|
|
Anyway, diggin' it? If so, endorse me:
|
|
|
|
[](http://coderwall.com/sdegutis)
|
|
|
|
Thanks!
|