Skip to content

xiafei114/goe2m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


excel 转 struct 工具,可以将excel 自动生成golang sturct结构,带大驼峰命名规则。带json标签

此项目为例生成 gin-admin 的entity model bll ctl schema 开发


1. 通过当前目录 config.yml 文件配置默认配置项

in_file_path : ./example.xlsx  # 输入文件
out_dir : ./target  # 输出目录
project_name : new_project

2. 可以使用命令行工具更新配置项

./goe2m -i=./example.xlsx -o=./target

About

golang excel to gorm model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published