Comments (3)
GOOS
- macos: shoult always be successful, if not install
protoc
andgogo protobuf
, then run:cd kratos-demo/api
kratos tool kprotoc
cd kratos-demo/cmd & go build
- windows: install
protoc
andgogo protobuf
,then run:cd kratos-demo/api
protoc --gogofast_out=plugins=grpc:$GOPATH/src api.proto
cd kratos-demo/cmd & go build
- linux: install
protoc
first, then run:cd kratos-demo/api
kratos tool kprotoc
cd kratos-demo/cmd & go build
protoc:https://github.com/protocolbuffers/protobuf#protocol-compiler-installation
gogo protobuf:https://github.com/gogo/protobuf
kratos tool:https://github.com/bilibili/kratos/blob/master/doc/wiki-cn/kratos-tool.md
from kratos.
PS E:\GoProject\src\kratos-demo\api> protoc --gogofast_out=plugins=grpc:$GOPATH/src api.proto
github.com/gogo/protobuf/gogoproto/gogo.proto: File not found.
api.proto: Import "github.com/gogo/protobuf/gogoproto/gogo.proto" was not found or had errors.
问一下这个该怎么解决,所有包都下了
from kratos.
from kratos.
Related Issues (20)
- How to configure when dealing with multiple DB instances? Are there any practices?[Question] HOT 5
- [Question]Why kratos load yaml as json and unmarshal to struct HOT 1
- 使用openapiv2,出现protoc-gen-openapiv2/options/annotations.proto: File not found. HOT 3
- After rpc call, error cannot be returned correctly HOT 3
- [Question]After rpc call, error cannot be returned correctly [rpc调用后,错误无法解析] HOT 4
- [Feature] Logo adjustment suggestions HOT 2
- Unable to customize http.ResponseWriter because of wrong implementation of Kratos' http.wrapper.Result() HOT 4
- Test failed on different time zone. HOT 1
- [consul Registry]: When grpc enters idle mode, “last connection error” occurs on the client and cannot be recovered HOT 1
- [Question]Why design middleware after bind? HOT 1
- [Question] Shall we follow the behavior of the document of http.ResponseWriter? HOT 1
- kratos run runs successfully but docker run fails HOT 5
- Issue with configuration file to render the values from environment variables HOT 5
- [Question]Use make config under windows to report an error HOT 3
- github.com/go-kratos/kratos/pkg/cache/redis 代码找不到了, 新版位置在哪里啊 HOT 6
- [Feature] log Helper sprint, sprintf is executed before Filter Level, the performance consumption is very high HOT 3
- [Question]Transaction nested conflict stuck HOT 3
- [Feature] consule register need suport tags[] HOT 2
- When the App stops, the ctx in the afterStop callback is not available HOT 3
- [Question] How to return other Status Code in a successful HTTP request? HOT 7
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 kratos.