Skip to content

happycrud/protoc-gen-go-gin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protoc-gen-go-gin

根据proto生成gin controller

go install github.com/happycrud/protoc-gen-go-gin@latest

protoc -I. -I/usr/local/include --go-gin_out=. --go_out=. --go-grpc_out=. proto/user.api.proto
protoc-go-inject-tag -input api/user.api.pb.go

TODO

  • [ ](自定义http method,GET)
  • [ ](除了json 可以支持form等类型的参数)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages