Friday, February 24, 2017

tips on Golang Programing

tipsgolang

Tips for Go Programing

If you are working on No Network Environment, and you don't have a Golang book. How to keep working on when you forget how to use the command.

Go to the location you installed golang.

cd /usr/local/go/src

There are a lot of code on it.
Choose a command you want to know, select

grep select *

You will find a lot of example, and you might know how to write a correct code.
Of course, if you forget how to define function that how to return a channel. Try it.

grep chan *

You will find the answer.

No comments:

Post a Comment