Skip to content

beyonddream/go_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go_sample

golang getting started

Installation

To discover where the install path is:

$ go list -f '{{.Target}}'

To change the go install path to point to a directory already in the PATH:

$ go env -w GOBIN=/path/to/your/bin

Finally to install the binary, go to hello folder and type:

$ go install

To run the hello program from any directory:

$ hello

Credits

Tutorial: Create a Go module

About

golang getting started

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published