Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Setup Repo to use "go get" #8

Open
rotoshniwal opened this issue May 31, 2018 · 1 comment · May be fixed by #11
Open

Setup Repo to use "go get" #8

rotoshniwal opened this issue May 31, 2018 · 1 comment · May be fixed by #11

Comments

@rotoshniwal
Copy link

I am trying to use this package in my go code : https://github.com/winebarrel/gcredstash. For doing so, I tried getting the package to my GOPATH using the below command :

$ go get -u github.com/winebarrel/gcredstash

package gcredstash: unrecognized import path "gcredstash" (import path does not begin with hostname)

package gcredstash/command: unrecognized import path "gcredstash/command" (import path does not begin with hostname)

The above command shows the above mentioned exceptions, but still downloads the package at the path :

/Users/rohitt/go/src/github.com/winebarrel/gcredstash

When I try to import this package now in my go file, it does not suggest this package at all during import.

It looks like that the repo is not setup to use "go get". Could you please clarify on this more if the one specified is the actual problem, or then suggest how to import this as a go package and use in my service ?

@kgaughan
Copy link

I've forked this repo to kgaughan/gcredstash so that it has an active maintainer. I've just merged #13 directly into my master branch after months of inactivity from the current maintainer. It may solve your problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants