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

6 lines
195 B
Bash
Executable File

#! /bin/bash
name=${1%%\\*}
echo $name
goctl api go -api server_api/$name.api -dir server/$name --home ./goctl_template/
# ctxName=server/$name/internal/svc/servicecontext.go
# gofmt -w $ctxName