This repository was archived by the owner on Nov 17, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 91
Support for local and external packages? #20
Comments
+1 my case my project directory is in $GOPATH, I need a subdir to collect some stuff like models
gom prevent me to import "model", because $GOPATH is replaced totally.
gom set "./vendor " to $GOPATH, but it's better to append it to $GOPATH. |
+1 @mattn I have the same issue as @janckerchen and @PuerkitoBio |
+1
|
Maybe, this issue depend on https://codereview.appspot.com/61630048/ |
So how does one deal with packages that are inside of the repo that gom is operating on? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm trying gom for the first time, so it's possible I'm doing something wrong. I have the following structure for a project in a private repo (not
go get
able, requires auth):private/cmd
private/cmd/package1
private/cmd/package2
cmd
is a main package, and it usescmd/package1
andcmd/package2
. They are part of the same repo, so I don't want to vendor the packages. Butcmd
and the packages use external dependencies from github and google code.I generated the Gomfile, and deleted the lines for the
cmd/package1
andcmd/package2
. When I rungom build
, it complains that he cannot find those packages. Is this a supported scenario, to have some dependencies resolved in the standard GOPATH, and some resolved using thevendor
/gom-defined GOPATH?Thanks,
Martin
The text was updated successfully, but these errors were encountered: