Thanks to both you and jake!
I remembered something similar to "import path should not be relative
paths". (Otoh the replace directive is not an import path, so I should
have checked before asking this.)
Anyways, thanks again!



On 3/24/21, Amnon <amno...@gmail.com> wrote:
> You can just tar up your ~/go/pkg/mod directory (plus your own sources) and
>
> you will be good.
>
> On Wednesday, 24 March 2021 at 16:19:13 UTC jake...@gmail.com wrote:
>
>> > I believe I can't use replace?
>>
>> I'm glad the vendoring solution is what you want. But IIUC what you are
>> trying to do, then there is no reason you can not use replace. For
>> example:
>> require gergrly/otherpackage v0.0.0
>> replace  gergrly/otherpackage => ../otherpackage
>> This works for me. You could then tar, the outer folder.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/03ecf1f1-7441-41cc-8e76-6049d62e3dccn%40googlegroups.com.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2BctqrrKjTrcoKeKjGsPzQcppk2BLvUXhCWANWZ4x3%3D7NtDjiQ%40mail.gmail.com.

Reply via email to