2023-06-05 17:56:55 +08:00
|
|
|
#! /bin/bash
|
2023-06-08 10:51:56 +08:00
|
|
|
name=${1%\/}
|
|
|
|
|
echo $name
|
2023-06-21 12:21:56 +08: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
|