Thanks. This really helps in solving my problem.

On Saturday, 27 February 2016 07:22:34 UTC+11, Nate Brennand wrote:
>
> A solution we use is simply removing all nested vendor directories:
> find vendor/ -path '*/vendor' -type d | xargs -IX rm -r X 
> <https://github.com/Clever/gearcmd/blob/master/golang.mk#L44>
> ​
>
> On Fri, Feb 26, 2016 at 12:19 PM, <jonathan...@gmail.com <javascript:>> 
> wrote:
>
>> Maybe similar to https://github.com/golang/go/issues/12432
>> I understand that you can consolidate in your own repo into a single 
>> vendor but that is not the case here.
>>
>>
>> On Friday, February 26, 2016 at 12:10:49 PM UTC-8, jonathan...@gmail.com 
>> wrote:
>>>
>>> I have one repo with a sub package library like /reporoot/A/A.go
>>>
>>> Inside it uses the ssh package. It also exposes the ssh package types in 
>>> a few of its exported interfaces.
>>>
>>> So in another repo I have a command that imports reporoot/A. It must 
>>> also import the ssh package since it directly references the identifiers to 
>>> do with the export types from A. So it has ssh vendored.
>>>
>>> Then the compile fails says that the commands implementations of those 
>>> interfaces in package A don't match signature, because they are from two 
>>> vendor dirs.
>>>
>>> A way around this?
>>>
>> -- 
>> 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...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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