Comments (4)
getting the same issue with RegisterShippingServiceHandler
from shippy.
getting same issue, I think it's because of the generated consignment.pb.go
using micro plugins
from shippy.
I think I have fixed this on my end. Newer versions of go-micro seem to generate the code for go-micro in a separate file.
To fix it, I removed the following line from the makefile:
protoc -I. --go_out=plugins=micro:$(GOPATH)/src/github.com/kscarlett/shippy/vessel-service proto/vessel/vessel.proto
And added this line to replace it:
protoc --proto_path=$(GOPATH)/src:. --micro_out=. --go_out=. proto/vessel/vessel.proto
from shippy.
If you run into this error: protoc-gen-micro: program not found or is not executable, change to:
protoc --plugin=protoc-gen-go=$(GOPATH)/bin/protoc-gen-go --plugin=protoc-gen-micro=$(GOPATH)/bin/protoc-gen-micro --proto_path=$(GOPATH)/src:. --micro_out=. --go_out=. proto/consignment/consignment.proto
from shippy.
Related Issues (20)
- UserService.Get error unexpected EOF HOT 1
- user service bug HOT 2
- tutorial-3: question is there a session leak?
- tutorial-1 error HOT 1
- NOT A BUG: Question about protoc and compilation
- tutorial - 2: Dockerrfile
- Tutorial 2: undefined: proto.ProtoPackageIsVersion3 HOT 5
- Dep init on dev environment HOT 1
- Docker Build Failed Tutorial 2 HOT 4
- No morte uptate? HOT 1
- Service 'consignment-cli' failed to build: The command '/bin/sh -c dep init && dep ensure' returned a non-zero code: 1 HOT 2
- Could not connect to DB: dial tcp: lookup database on 127.0.0.11:53: no such host HOT 4
- user-cli/cli.go fails to build when using go mod -- unable to find go-micro/cmd. HOT 1
- Validate Token Function HOT 1
- Missing License HOT 1
- Update tutorial on v3
- Getting error when downloading the dependencies of shippy-cli-consignment HOT 2
- Update on tutorial no. 2
- when run in go version1.15+, appear such error【Error: export ordinal too large: 92579】
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 shippy.