Thanks. But if I'll use constraint I'll need to rewrite all the import 
paths in my code (and maybe in the vendor directory as well)

On Sunday, August 6, 2017 at 4:31:25 PM UTC+3, Paul Tötterman wrote:
>
> Hi,
>
> I plan to use "dep" and also to place "vendor" in the git repository. 
>> However I have one dependency in vendor which is locally patched. The 
>> problem for me is that "dep ensure" overwrites my patch every time. Is 
>> there a way to tell "dep" to ignore this specific package? (There are 
>> overrides, from what what I've seen you can just set a specific version 
>> there).
>>
>
> You should be able to use a [[constraint]] -section in Gopkg.toml to point 
> the source of a package to your own forked repository.
>
> Cheers,
> Paul 
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to