minecoinchain / wehousing Goto Github PK
View Code? Open in Web Editor NEWGolang微服务+区块链实战---go+micro+fabric实现租房上链系统
Golang微服务+区块链实战---go+micro+fabric实现租房上链系统
您好,请问这个项目的SQL语句在哪哈,方便加下联系方式嘛
你好,请问项目的Sql建表语句可不可以发一下呢
您好,我在运行GetUserOrder模块的时候出现了
subscriber/example.go:12:52: undefined: go_micro_srv_GetUserOrder.Message subscriber/example.go:17:40: undefined: go_micro_srv_GetUserOrder.Message
这样的错误信息
zhr@ubuntu:~/gospace/src/micro/rpc$ micro new --type "srv" micro/rpc/srv
Creating service go.micro.srv.srv in /home/zhr/gospace/src/micro/rpc/srv
├── main.go
├── generate.go
├── plugin.go
├── handler
│ └── srv.go
├── subscriber
│ └── srv.go
├── proto/srv
│ └── srv.proto
├── Dockerfile
├── Makefile
└── README.md
download protobuf for micro:
brew install protobuf
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
go get -u github.com/micro/protoc-gen-micro
cd /home/zhr/gospace/src/micro/rpc/srv
protoc --proto_path=.:$GOPATH/src --go_out=. --micro_out=. proto/srv/srv.proto
项目很不错,看了以后收获很大,希望大佬有后续代码上传,里面很多技术都有用到,很不错
这个项目包怎么管理啊,哪位大神给改为mod管理的了吗
您好,我们偶然关注到您在 github 上分享的项目,我们对《go+micro+fabric实现租房上链系统》这个项目很感兴趣,想与您建立商务合作,但是 github 上没有留下您的联系方式,可以在此留下您的微信或邮箱地址,方便我们与您建立联系吗?
$ go get "github.com/micro/go-grpc"
Cloning into '/Users/arjun/go/src/github.com/micro/go-grpc'...
remote: Repository not found.
fatal: repository 'https://github.com/micro/go-grpc/' not found
package github.com/micro/go-grpc: exit status 128
make build
protoc --proto_path=/home/zhr/gospace/src:. --micro_out=. --go_out=. proto/example/example.proto
go build -o DeleteSession-srv main.go plugin.go
go: github.com/micro/[email protected] requires
github.com/golang/[email protected]: parsing go.mod:
module declares its path as: golang.org/x/lint
but was required as: github.com/golang/lint
Makefile:12: recipe for target 'build' failed
make: *** [build] Error 1
请问fabric用在了那里 ? 您是怎么将fabric联盟链和微服务结合的呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.