修复包路径错误

This commit is contained in:
fachebot 2022-04-19 09:43:07 +08:00
parent a7775c3e28
commit f0b1518d5b
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
### 1. 编译goctl-swagger插件
```
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/fachebot/goctl-swagger
GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/zeromicro/goctl-swagger
```
### 2. 配置环境

View File

@ -1,9 +1,9 @@
package action
import (
"github.com/fachebot/goctl-swagger/generate"
"github.com/urfave/cli/v2"
"github.com/zeromicro/go-zero/tools/goctl/plugin"
"github.com/zeromicro/goctl-swagger/generate"
)
func Generator(ctx *cli.Context) error {

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/fachebot/goctl-swagger
module github.com/zeromicro/goctl-swagger
go 1.16

View File

@ -5,8 +5,8 @@ import (
"os"
"runtime"
"github.com/fachebot/goctl-swagger/action"
"github.com/urfave/cli/v2"
"github.com/zeromicro/goctl-swagger/action"
)
var (