fusenapi/fs_gen_mysql_model.sh
2023-06-25 19:33:25 +08:00

4 lines
144 B
Bash
Executable File

#! /bin/bash
# goctl model mysql ddl --src ./ddl/$1.sql --dir model/ --home ./goctl_template
name=${1%%\\*}
go run generator/main.go -name $name