Skip to main content

Go

Supported Commands

Use these commands with the RepoFlow server:

go get
go install

Note: Commands that run locally are not listed here but will work as expected.

Authentication with Go

The Go CLI supports authentication using a .netrc file.

Using .netrc File

  1. Create or Update .netrc File

    touch ~/.netrc
  2. Add Credentials

    echo "machine https://api.repoflow.io
    login <username>
    password <password>" >> ~/.netrc

Replace placeholders with your actual values.