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

**URL:** <https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143>\
**Category:** Tooling Issues\
**Created:** [September 2, 2020, 10:18am UTC](https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143 "2020-09-02T10:18:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jide](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jide](https://discuss.bitrise.io/u/jide)\
**Post date:** [September 2, 2020, 10:18am UTC](https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143/1 "2020-09-02T10:18:56Z")

</div>

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;

```auto
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:

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

```

---

<div class="post-metadata">

**Author:** ![laszlo.pusok](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@laszlo.pusok](https://discuss.bitrise.io/u/laszlo.pusok)\
**Post date:** [September 2, 2020, 10:23am UTC](https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143/2 "2020-09-02T10:23:39Z")

</div>

Hello, the correct path is

```auto
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.

---

<div class="post-metadata">

**Author:** ![jide](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jide](https://discuss.bitrise.io/u/jide)\
**Post date:** [September 2, 2020, 8:00pm UTC](https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143/3 "2020-09-02T20:00:45Z")

</div>

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

 ![43](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/3/33051ba395327f725f0c87a13c291ed43093b9db.png)

---

<div class="post-metadata">

**Author:** ![jide](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jide](https://discuss.bitrise.io/u/jide)\
**Post date:** [September 2, 2020, 8:01pm UTC](https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143/4 "2020-09-02T20:01:33Z")

</div>

![28](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/9/9016c88b58a19579c754273642b13087b9d2d8cc.png)

---

<div class="post-metadata">

**Author:** ![jide](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jide](https://discuss.bitrise.io/u/jide)\
**Post date:** [September 2, 2020, 8:02pm UTC](https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143/5 "2020-09-02T20:02:29Z")

</div>

![45](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/8/8b20d7c840501b156393f1c86b7445c66f9c9282.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [October 2, 2020, 8:02pm UTC](https://discuss.bitrise.io/t/cant-import-github-com-bitrise-tools-go-steputils-stepconf-in-go-script/14143/6 "2020-10-02T20:02:30Z")

</div>

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