Merge pull request #32 from fachebot/main

修复包路径错误
This commit is contained in:
Kevin Wan 2022-04-20 09:17:47 +08:00 committed by GitHub
commit b48cd9e791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 (