Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
koans for go
Go
branch: master

This branch is 4 commits ahead, 12 commits behind cdarwin:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
about_allocation.go
about_anonymous_functions.go
about_arrays.go
about_basics.go
about_channels.go
about_common_interfaces.go
about_concurrency.go
about_control_flow.go
about_enumeration.go
about_files.go
about_interfaces.go
about_maps.go
about_panics.go
about_pointers.go
about_slices.go
about_strings.go
about_structs.go
about_types.go
about_variadic_functions.go
setup_koans_test.go

README.md

Go Koans

Teaches basic Go concepts and syntax by example.

Usage

  1. Install Go with your favorite package manager or from the official downloads link.
  2. Clone this repo.
  3. Run go test.
  4. Make the failing tests pass, by replacing these types of __variables__ with real values.

Cooler usage

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.

Helpful References

Bookmark the spec and the packages listing. You can also run the Go website locally with godoc -http=:8080.

For Vim users

Add this to your ~/.vimrc file:

set rtp+=/usr/local/opt/go/misc/vim
filetype plugin indent on
syntax on

For Emacs users

(add-to-list 'load-path "/usr/local/opt/go/misc/emacs" t)
(require 'go-mode-load)
Something went wrong with that request. Please try again.