修复包路径错误
This commit is contained in:
parent
a7775c3e28
commit
f0b1518d5b
@ -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. 配置环境
|
||||
|
@ -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
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/fachebot/goctl-swagger
|
||||
module github.com/zeromicro/goctl-swagger
|
||||
|
||||
go 1.16
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user