Can't import github.com/bitrise-tools/go-steputils/stepconf in go script

Trying to run a go script to do some string manipulation on some environment variable but I can’t seem to import stepconf for making the environment variable accessible in the script. I get the error below;

cannot find package "github.com/bitrise-tools/go-steputils/stepconf" in any of:
	/usr/local/go/src/github.com/bitrise-tools/go-steputils/stepconf (from $GOROOT)
	/bitrise/go/src/github.com/bitrise-tools/go-steputils/stepconf (from $GOPATH)

Step taken: Added:

deps:
          go get -u:
          - name: github.com/bitrise-tools/go-steputils/stepconf

Hello, the correct path is

github.com/bitrise-io/go-steputils/stepconf

that is bitrise-io instead of bitirise-tools.

Would recommend using dep or go modules for dependency management, so they are vendored and not dependent on the $GOPATH env.

Hi @laszlo.pusok. I did this but it still didn’t work. Posting screenshots so you can point out what I’m doing wrong. I’ve also tried apt-get and brew but nothing seems to work

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.