Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Godep save not compatible with godep restore for nested packages #193

Open
jixwanwang opened this issue Mar 12, 2015 · 0 comments
Open

Godep save not compatible with godep restore for nested packages #193

jixwanwang opened this issue Mar 12, 2015 · 0 comments

Comments

@jixwanwang
Copy link

I'm having an issue where I'm importing a nested package (github.com/p/ac/ka/ge) in my code, but using godep save followed by godep restore results in "unrecognized import path: github.com/p/ac/ka/ge".

The dependency is organized as below:

p/
+ ac/
++ main.go
++ foo/
+++ foo.go
++ ka/
+++ ge/
++++ file.go

I can solve this issue by modifying my Godeps.json file to look for "github.com/p/ac", and godep restore works.

I'm not sure if this is an issue with godeps or my understanding of how godeps works, but it seems to me that godep save and godep restore should work together without having to worry about a nested package.

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

No branches or pull requests

2 participants