How to download and setup rules_go
Open terminal and run command
git clone https://github.com/bazelbuild/rules_go.git
git clone is used to create a copy or clone of rules_go repositories.
You pass git clone a repository URL. it supports a few different network protocols and corresponding URL formats.
Also you may download zip file with rules_go https://github.com/bazelbuild/rules_go/archive/master.zip
Or simply clone rules_go with SSH
[email protected]:bazelbuild/rules_go.git