C would pick D E in its C/vendor before D E in A/vendor before D E in $GOPATH/src
ps. I have edited these comments about 5 times to get the parentheses right. :)