Skip to content

matijavizintin/effective-go

Repository files navigation

Effective Go

This project is based on Google's Effective Go tutorial that teaches how to write idiomatic Go code located here.

Description

This project is test based so it allows to a new go learner to quickly execute code, see how it behaves, make small changes and observe what happens. See here how to run specific tests.

Follow the Effective Go tutorial. The packages are named accordingly.

Environment

1. Install go

Go to https://golang.org/doc/install and follow the instructions. Don't forget to set GOPATH variable.

2. Clone the git repository

cd $GOPATH/src
git clone [email protected]:matijavizintin/effective-go.git

3. Install dependencies

cd $GOPATH/src/effective-go
go get -t ./...

4. Open the project in your editor of choice

I personally use IntelliJ IDEA with go plugin but any editor will do just fine.

Note

If you find any bugs a pull request will be much appreciated. Thank you.