gormgen

command
v0.0.0-...-9c50ee6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 5 Imported by: 0

README

执行命令

在根目录下执行脚本:./scripts/gormgen.sh addr user pass name tables

  • addr:数据库地址,例如:127.0.0.1:3306
  • user:账号,例如:root
  • pass:密码,例如:root
  • name:数据库名称,例如:go_gin_api
  • tables:表名,默认为 *,多个表名可用“,”分割,例如:user_demo

例如:

./scripts/gormgen.sh 127.0.0.1:3306 root root go_gin_api user_demo

参考

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL