Skip to content
No description, website, or topics provided.
Go Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
solutions
.gitignore
LICENSE
README.md
array.go
class.slide
defer.go
deferclose.go
err.go
errorinterface.go
fireandforget.go
go.mod
go.sum
hello.go
map.go
memberfunctions.go
pipeline.go
run.sh
select.go
somefile.txt
structequality.go
type-assertions.go
type-switch.go
waitgroup.go

README.md

Go Overview

This is an overview of the go programming language for developers familiar with either Python, Java or C.

Run

To view the slides you'll need go installed, and then you'll need the present command. This can be obtained by running go install golang.org/x/tools/cmd/present.

To launch the slides run ./run.sh in a checkout of this repository and visit: http://localhost:3999/class.slide.

Resources

Go Standard Library

DevDocs

Effective Go

Less is exponentially more

Visualizing Concurrency in Go

Setting up on Mac

Make sure you have git installed via Xcode.

Download the binary .tar.gz (not the .pkg) from golang.org/dl: https://dl.google.com/go/go1.12.5.darwin-amd64.tar.gz

Extract into ~/goroot so GOROOT and GOPATH don't conflict:

tar xzvf go1.12.5.darwin-amd64.tar.gz
mv go ~/goroot

Add to your PATH in ~/.bash_profile:

PATH="${HOME}/goroot/bin:${HOME}/go/bin:${PATH}"
export PATH

Reload your ~/.bash_profile:

source ~/.bash_profile

Make sure you're running the expected version of Go:

which go
go version
You can’t perform that action at this time.