Comments (3)
I've recently have had the same problem. It comes down to a dependency failure : cannot find package "github.com/go-playground/validator/v10" in any of
. It happens when you do ``dep ensure``` as well
This problem has been asked in here. It looks like some kind of issues between dep and go modules, which are incompatible I assume.
I have managed to install the program by ditching dep completely and switching to go modules. You can find a tutorial here. You would Go 1.11+.
TL;DR
This method works with Go 1.11, 1.12, and should work with every 1.X future release.
- move your code outside of GOPATH
- go mod init [module path]: this will import dependencies from Gopkg.lock.
- go mod tidy: this will remove unnecessary imports, and add indirect ones.
- rm -fr vendor/
- go build: is everthing ok?
- rm -f Gopkg.lock Gopkg.toml
- git commit -m 'chore(dep): migrated from dep to Go 1.11 modules'
To install the program in the future, you would just do go build
I would do a pull request, but I'm not sure about your Go setup
from golemu.
Thanks a bunch for the workaround. I'll take a look.
from golemu.
@HanYangZhao Thanks! It's resolved now.
from golemu.
Related Issues (20)
- Properly schedule tag report timing HOT 1
- Replace code.google.com/p/go.net/websocket with websocket? HOT 2
- D3.js Clustered Force Layout HOT 1
- AccessSpec and ReadData from virtual tags HOT 1
- Upload tag lists by file through the web HOT 1
- Make REST API functional HOT 1
- Proper empty tag ROAccessReport
- Automatic length (in words?) generation from the web interface HOT 1
- Clear the virtual tag population at once HOT 1
- gologir.go:202: undefined: http.StatusAlreadyReported HOT 4
- Proper EPC generation and options for uiigen cmd HOT 1
- Remove the GUI but fix the REST API for the tag management HOT 1
- What is tags.csv suppose to look like? HOT 4
- Is there an example for the API to add/delete tags? HOT 4
- Add webserver functionality HOT 1
- Safe stop, safe close HOT 1
- README
- LLRP payload builder abstraction HOT 1
- Pseudo ROReportSpec Parameter flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golemu.