Skip to content
Advertisement

gocql package golang two file version in same install

getting this error when trying to run a go file (which should run)

JavaScript
  1. When I look at the documentation of go 1.7 I find that ClusterConfig does have a field ConnectTimeout. (go version = 1.7).
  2. If I go to the github.com directory in my go path I find a directory gocql. In this directory I find a file cluster.go which contains a definition for a struct ClusterConfig which does not have ConnectTimeout only a field Timeout.

JavaScript

JavaScript

What have I done wrong? How can I have 2 versions of the same file? How do I fix it?

Advertisement

Answer

It is not an answer, but is a solution. Rather than continue trying to salvage the vm I merely got another image and proceeded from there.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement