The example 'Getting A Block' in README.md does not compile copy/paste. The library is imported/aliased as goTezos but client.New() is called inside main(). This results in the following;
./utesting.go:8:2: imported and not used: "github.com/goat-systems/go-tezos/v4/rpc"
./utesting.go:22:14: undefined: client
The example 'Getting A Block' in README.md does not compile copy/paste. The library is imported/aliased as
goTezos
butclient.New()
is called inside main(). This results in the following;