fusenapi/fs_gen_api.sh

6 lines
195 B
Bash
Raw Normal View History

2023-06-05 09:56:55 +00:00
#! /bin/bash
2023-06-25 11:33:25 +00:00
name=${1%%\\*}
2023-06-08 02:51:56 +00:00
echo $name
2023-06-21 04:21:56 +00:00
goctl api go -api server_api/$name.api -dir server/$name --home ./goctl_template/
# ctxName=server/$name/internal/svc/servicecontext.go
# gofmt -w $ctxName