Go Client Installation

Introduction

We present the general steps to install the ThreeFold Grid3 Go Client.

Mycelium Network

Note that you can use the Mycelium network to connect to your deployments. To do so, make sure that the Mycelium network is properly set up for the deployments. You can consult the different examples that include the Mycelium network to understand this further.

Requirements

Make sure that you have at least Go 1.19 installed on your machine.

  • Go >= 1.19

Steps

  • Create a new directory
    • mkdir tf_go_client
      
  • Change directory
    • cd tf_go_client
      
  • Creates a go.mod file to track the code's dependencies
    • go mod init main
      
  • Install the Grid3 Go Client
    • go get github.com/threefoldtech/tfgrid-sdk-go/grid-client
      

This will make Grid3 Go Client packages available to you.

References

For more information, you can read the official Go documentation.

Last change: 2024-11-05