protobuf
# protoc-gen-go
go get -u github.com/golang/protobuf/protoc-gen-go
# grpc
go get -u google.golang.org/grpc
# protobuf
go get -u google.golang.org/protobuf
protoc -I . --go_out=plugins=grpc:. *.proto
wire
# 安装
go install github.com/google/wire/cmd/wire@latest
go get github.com/google/wire/cmd/wire@v0.5.0
# 生成
cd internal/app
go run github.com/google/wire/cmd/wire