Writing, building, installing, and testing Go code

By: The Go Programming Language

1458   27   205260

Uploaded on 10/26/2012

A first stop for newcomers to the Go Programming Language.

This screencast describes setting up a workspace (GOPATH), writing commands and packages, using the go tool to build and install, and using the testing package to write unit tests.

For more detail, see http://golang.org/doc/code.html

http://golang.org/

Comments (2):

By anonymous    2017-09-20

Watch a Video

In general, I always recommend this official video from Go to get a quick overview on the matter:

http://www.youtube.com/watch?v=XCsL89YtqCs

It's easier to be shown than to be told.

@jwfearn paraphrased the important part of the video:

export GOPATH="${HOME}/gocode"; export PATH="${PATH}:${GOPATH}/bin"; mkdir -p "${GOPATH}"

Original Thread

Popular Videos 293

Submit Your Video

If you have some great dev videos to share, please fill out this form.