.setType(implicit);
}
return candidate;
}
@Nullable
<BUG>protected GolangDependency resolveVendorPackage(@Nonnull GolangDependency demandedBy, @Nonnull String packageName) throws Exception {
final Path root = _settings.getBuild().getGopathSourceRoot().toAbsolutePath();
final Path demandedByLocation = demandedBy.getLocation();</BUG>
if (demandedByLocation != null) {
Path current = demandedByLocation.toAbsolutePath();

.setType(implicit);
}
return candidate;
}
@Nullable
protected GolangDependency resolveVendorPackage(@Nonnull GolangDependency demandedBy, @Nonnull String packageName) throws Exception {
for (final Path gopathSourceRoot : _settings.getBuild().getGopathSourceRoot()) {
final Path root = gopathSourceRoot.toAbsolutePath();
final Path demandedByLocation = demandedBy.getLocation();
if (demandedByLocation != null) {
Path current = demandedByLocation.toAbsolutePath();
