Skip to content

wxxhub/gen_sqlpb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gen_sqlpb

根据数据库生成protobuf文件。
generate protobuf from mysql.

install

go install github.com/wxxhub/gen_sqlpb@latest

params

param description must
--dsn Database source name *
--debug Print debug info
--savePath The path to save
--package protobuf package name
--goPackage golang package name

use

gen_sqlpb --dsn "username:password@tcp(ip:port)/database?tableName=tablename" 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors