Skip to content

Commit 188cbe4

Browse files
author
hao.pi
committed
rename package for castlery
1 parent 468350f commit 188cbe4

File tree

5 files changed

+66
-2907
lines changed

5 files changed

+66
-2907
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
### 1. 编译goctl-swagger插件
44

5-
```
6-
GOPROXY=https://goproxy.cn/,direct go install github.com/zeromicro/goctl-swagger@latest
5+
```sh
6+
go install github.com/castlery/goctl-swagger@latest
77
```
88

99
### 2. 配置环境

Diff for: action/action.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package action
33
import (
44
"github.com/urfave/cli/v2"
55
"github.com/zeromicro/go-zero/tools/goctl/plugin"
6-
"github.com/zeromicro/goctl-swagger/generate"
6+
"github.com/castlery/goctl-swagger/generate"
77
)
88

99
func Generator(ctx *cli.Context) error {

Diff for: go.mod

+61-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
module github.com/zeromicro/goctl-swagger
1+
module github.com/castlery/goctl-swagger
22

3-
go 1.16
3+
go 1.21
4+
5+
toolchain go1.23.3
46

57
require (
68
github.com/grpc-ecosystem/grpc-gateway v1.16.0
@@ -9,3 +11,60 @@ require (
911
github.com/zeromicro/go-zero/tools/goctl v1.6.5
1012
golang.org/x/oauth2 v0.17.0
1113
)
14+
15+
require (
16+
github.com/beorn7/perks v1.0.1 // indirect
17+
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
18+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
19+
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
20+
github.com/fatih/color v1.16.0 // indirect
21+
github.com/fatih/structtag v1.2.0 // indirect
22+
github.com/ghodss/yaml v1.0.0 // indirect
23+
github.com/go-logr/logr v1.4.1 // indirect
24+
github.com/go-logr/stdr v1.2.2 // indirect
25+
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
26+
github.com/golang/glog v1.2.0 // indirect
27+
github.com/golang/protobuf v1.5.4 // indirect
28+
github.com/google/uuid v1.6.0 // indirect
29+
github.com/gookit/color v1.5.4 // indirect
30+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect
31+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
32+
github.com/mattn/go-colorable v0.1.13 // indirect
33+
github.com/mattn/go-isatty v0.0.20 // indirect
34+
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
35+
github.com/openzipkin/zipkin-go v0.4.2 // indirect
36+
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
37+
github.com/prometheus/client_golang v1.18.0 // indirect
38+
github.com/prometheus/client_model v0.5.0 // indirect
39+
github.com/prometheus/common v0.45.0 // indirect
40+
github.com/prometheus/procfs v0.12.0 // indirect
41+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
42+
github.com/spaolacci/murmur3 v1.1.0 // indirect
43+
github.com/spf13/cobra v1.8.0 // indirect
44+
github.com/spf13/pflag v1.0.5 // indirect
45+
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
46+
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
47+
github.com/zeromicro/antlr v0.0.1 // indirect
48+
go.opentelemetry.io/otel v1.22.0 // indirect
49+
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 // indirect
50+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
51+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0 // indirect
52+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 // indirect
53+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0 // indirect
54+
go.opentelemetry.io/otel/exporters/zipkin v1.19.0 // indirect
55+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
56+
go.opentelemetry.io/otel/sdk v1.21.0 // indirect
57+
go.opentelemetry.io/otel/trace v1.22.0 // indirect
58+
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
59+
go.uber.org/automaxprocs v1.5.3 // indirect
60+
golang.org/x/net v0.25.0 // indirect
61+
golang.org/x/sys v0.20.0 // indirect
62+
golang.org/x/text v0.15.0 // indirect
63+
google.golang.org/appengine v1.6.8 // indirect
64+
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
65+
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
66+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
67+
google.golang.org/grpc v1.63.2 // indirect
68+
google.golang.org/protobuf v1.34.1 // indirect
69+
gopkg.in/yaml.v2 v2.4.0 // indirect
70+
)

0 commit comments

Comments
 (0)