Skip to content

x-lambda/protoc-gen-gin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protoc-gen-gin

根据proto文件生成gin框架

注意:

  • 使用了embed特性,需要go1.16以上版本,go mod注意版本信息

安装

go get -u github.com/x-lambda/protoc-gen-gin

使用方式

protoc --gin_out .  --gin_opt=paths=source_relative --gin_opt=code=-1 demo.proto

example: https://github.com/x-lambda/nautilus

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •