1 Star 0 Fork 8

nickling/api-testing

forked from Rick/api-testing 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 383 Bytes
一键复制 编辑 原始数据 按行查看 历史
Rick 提交于 2023-06-26 08:47 +08:00 . feat: add ui for the api-testing (#102)
package main
import (
"os"
"github.com/linuxsuren/api-testing/cmd"
"github.com/linuxsuren/api-testing/pkg/server"
exec "github.com/linuxsuren/go-fake-runtime"
"google.golang.org/grpc"
)
func main() {
gRPCServer := grpc.NewServer()
c := cmd.NewRootCmd(exec.DefaultExecer{}, gRPCServer,
server.NewDefaultHTTPServer())
if err := c.Execute(); err != nil {
os.Exit(1)
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/nickling/api-testing.git
git@gitee.com:nickling/api-testing.git
nickling
api-testing
api-testing
master

搜索帮助