Install package with get

Get downloads the packages named by the import paths, along with their dependencies. It then installs the named packages, like ‘go install’.

1go get


  1. Fork the package .
  2. Clone forked repository.
1git clone<githubusername>/go-crypto
  1. Next, move into the cloned directory.
1cd go-crypto
  1. Install the dependencies.
1# -t Will Also Fetch Dependencies Related to Tests
2go get -t ./...
  1. Dependencies are now installed, you can now run the tests to see if everything is running as it should.
1go test ./...
Last updated 2 years ago
Edit Page