gojuno / gojuno/go.osrm

Problems with vendored code

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
46
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hi,

I get the following error when running a go get or a build
![image](https://user-images.githubusercontent.com/5629725/69906536-b33b2a80-13bc-11ea-8e07-dbc7f84d9b53.png)

(sorry about using a screen shot - problems with my tmux session).

A bit of Googling found the following: https://stackoverflow.com/questions/38091816/packages-type-cannot-be-used-as-the-vendored-packages-type

I copied the contents of vendor out locally and then deleted the vendor folder and that resolved the problem.

Thanks
Alan

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported error with go get or a build while the vendor folder is present, and compare it with the linked Stack Overflow explanation. Inspect the vendored code and the repository's dependency setup; done means both go get and builds work without requiring the vendor folder to be removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.