get homebrew: https://brew.sh/
$ brew install go
In bashrc or bashprofile(mine is ~/.zshrc because I'm using oh my ZSH)
create your gopath:
export GOPATH="$HOME/workspace/golang"
$ cd ~/workspace/golang
$ mkdir bin pkg src src/github.com/yourGithubName(AkyunaAkish for me)
$ mkdir ~/workspace/golang/src/github.com/yourName/someRepo
$ cd ~/workspace/golang/src/github.com/yourName/someRepo
$ git init
start writing code
-
Notifications
You must be signed in to change notification settings - Fork 2
AkyunaAkish/GolangLanguageTraining
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published