#! /bin/bash name=${1%\/} echo $name goctl api go -api server_api/$name.api -dir server/$name --home ./goctl_template/