github.com/bitfinexcom/bitfinex-api-go@v0.0.0-20210608095005-9e0b26f200fb/tests/integration/v1/bitfinex_test.go (about)

     1  package tests
     2  
     3  import (
     4  	"os"
     5  
     6  	"github.com/bitfinexcom/bitfinex-api-go/v1"
     7  )
     8  
     9  var (
    10  	client *bitfinex.Client
    11  )
    12  
    13  func init() {
    14  	key := os.Getenv("BFX_API_KEY")
    15  	secret := os.Getenv("BFX_API_SECRET")
    16  	client = bitfinex.NewClient().Auth(key, secret)
    17  }