Hello Go – Scratching the surface

Export Go path export GOPATH=/Users/ysharma/work/go/ Directory Structure . ├── bin │   ├── main │   └── test ├── pkg │   └── darwin_amd64 │   └── rect.a └── src ├── main │   └── hello.go └── rect ├── rect.go └── rect_test.go Bin – Where the binary files land Pkg – Dir for the packages of your code Src – …

More