2.6. Go プロジェクトのダウンロード

サードパーティーの Go プロジェクトをオンラインソースからダウンロードし、インストールするには、go ツールを実行します。

  • Red Hat Enterprise Linux 7 の場合:

    $ scl enable go-toolset-1.11 'go get 3rd_party_go_project'
  • Red Hat Enterprise Linux 8 の場合:

    $ go get 3rd_party_go_project

3rd_party_go_project オプションで使用できる値の詳細は、以下のコマンドを実行します。

  • Red Hat Enterprise Linux 7 の場合:

    $ scl enable go-toolset-1.11 'go help importpath'
  • Red Hat Enterprise Linux 8 の場合:

    $ go help importpath