User Tools

Site Tools


golang

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

golang [2023/05/23 02:30] โ€“ created kashifshahgolang [2023/05/23 02:38] (current) โ€“ formatting and added resources kashifshah
Line 1: Line 1:
 +====== golang ======
 +
 +===== Setup =====
 +
 +In your ''.profile'' (or ''.bashrc'', ''.zshrc'', etc):
 +
 +Be sure to set ''GOROOT'' to ''/usr/pkg/gon'' where n is the version of golang that you 
 +wish to use.  Then add ''$GOROOT/bin'' to your ''PATH'' variable.
 +
 +e.g., for go 1.20.4, add the following to the end of your ''.zshrc'':
 +
 +<code bash>GOROOT=/usr/pkg/go120
 +PATH=$GOROOT/bin:$PATH</code>
 +
 +===== Resources =====
 +
 +  * [[https://go.dev/doc/|Documentation]] - official documentation
 +  * [[https://github.com/golang/go]] โ€” official git repository
 +  * [[https://go.dev/]] - official website
 +  * [[https://gobyexample.com/|Go by Examaple]] - hands-on introduction to go
 +  * [[https://go.dev/tour/welcome/1|A Tour of Go]] - interactive tutorial
  
golang.txt ยท Last modified: 2023/05/23 02:38 by kashifshah