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