ToolDev with Concourse and go #6312
-
|
Hello all! I am trying to write a new cli tool to interact with concourse without having to tell my users to install fly, just this cli tool. I've run into a bit of an issue with go mod however, and I am trying to work out what it is that I am doing wrong. In particular, building this go file: Results in these errors: I have checked that this package is actually shipped with concourse releases, so I am kind of lost.. Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
The Note: due to how go mod versioning works, you'll have to get the repo by sha: |
Beta Was this translation helpful? Give feedback.
The
concourse/flyrepo is archived and has no code in it, you should be using theconcourse/concoursemono-repo instead. You might also want to take a look at using the go-concourse client library instead of fly.Note: due to how go mod versioning works, you'll have to get the repo by sha:
go get github.com/concourse/concourse@248606dfor v6.7.1. Eventually we'll separate out go-concourse into a proper go mod versioned repo, but for now you'll have togo getit by sha.