hz new -idl idl/core.thrift -module github.com/ClubWeGo/douyin
扩展模块
hz new -idl idl/interaction.thrift -module github.com/ClubWeGo/douyin
hz new -idl idl/relation.thrift -module github.com/ClubWeGo/douyin
rm -r ./biz router.go router_gen.go main.go go.mod go.sum .hz .gitignore
hz update -idl idl/core.thrift
go mod tidy
go build
依赖另外几个微服务的代码仓库
(微服务代码更新后,需主动执行来更新代码)
go get github.com/ClubWeGo/videomicro@latest
go get github.com/ClubWeGo/usermicro@latest
go get github.com/ClubWeGo/relationmicro@latest
go get github.com/ClubWeGo/favoritemicro@latest
go get github.com/ClubWeGo/commentmicro@latest