mirror of
https://github.com/gogf/gf.git
synced 2025-04-05 11:18:50 +08:00
expose iClient
as IClient
in generated sdk for command gen ctrl
(#2804)
This commit is contained in:
parent
b95cb3180d
commit
e0e00434cc
@ -3,13 +3,13 @@ module github.com/gogf/gf/cmd/gf/v2
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/contrib/drivers/clickhouse/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/drivers/mssql/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/drivers/oracle/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/drivers/sqlite/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/drivers/clickhouse/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/drivers/mssql/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/drivers/oracle/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/drivers/pgsql/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/drivers/sqlite/v2 v2.5.1
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/minio/selfupdate v0.6.0
|
||||
github.com/olekukonko/tablewriter v0.0.5
|
||||
golang.org/x/mod v0.9.0
|
||||
|
@ -25,7 +25,7 @@ type implementer struct {
|
||||
config httpclient.Config
|
||||
}
|
||||
|
||||
func New(config httpclient.Config) iClient {
|
||||
func New(config httpclient.Config) IClient {
|
||||
if !gstr.HasPrefix(config.URL, "http") {
|
||||
config.URL = fmt.Sprintf("http://%s", config.URL)
|
||||
}
|
||||
@ -49,7 +49,7 @@ package {PkgName}
|
||||
import (
|
||||
)
|
||||
|
||||
type iClient interface {
|
||||
type IClient interface {
|
||||
}
|
||||
`
|
||||
|
||||
|
@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/apolloconfig/agollo/v4 v4.1.1
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
)
|
||||
|
||||
replace github.com/gogf/gf/v2 => ../../../
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/config/kubecm/v2
|
||||
go 1.18
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
k8s.io/api v0.25.2
|
||||
k8s.io/apimachinery v0.25.2
|
||||
k8s.io/client-go v0.25.2
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/config/nacos/v2
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/nacos-group/nacos-sdk-go v1.1.2
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/config/polaris/v2
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/polarismesh/polaris-go v1.5.1
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/ClickHouse/clickhouse-go/v2 v2.0.15
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/google/uuid v1.3.0
|
||||
github.com/shopspring/decimal v1.3.1
|
||||
)
|
||||
|
@ -6,5 +6,5 @@ replace github.com/gogf/gf/v2 => ../../../
|
||||
|
||||
require (
|
||||
gitee.com/chunanyong/dm v1.8.10
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
)
|
||||
|
@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/denisenkom/go-mssqldb v0.11.0
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
)
|
||||
|
||||
replace github.com/gogf/gf/v2 => ../../../
|
||||
|
@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/go-sql-driver/mysql v1.6.0
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
)
|
||||
|
||||
replace github.com/gogf/gf/v2 => ../../../
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/drivers/oracle/v2
|
||||
go 1.17
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/sijms/go-ora/v2 v2.4.20
|
||||
)
|
||||
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/drivers/pgsql/v2
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/lib/pq v1.10.4
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/glebarez/go-sqlite v1.17.3
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
)
|
||||
|
||||
replace github.com/gogf/gf/v2 => ../../../
|
||||
|
@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/go-redis/redis/v8 v8.11.5
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
go.opentelemetry.io/otel v1.7.0
|
||||
go.opentelemetry.io/otel/trace v1.7.0
|
||||
)
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/registry/etcd/v2
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
go.etcd.io/etcd/client/v3 v3.5.4
|
||||
)
|
||||
|
||||
|
@ -2,6 +2,6 @@ module github.com/gogf/gf/contrib/registry/file/v2
|
||||
|
||||
go 1.15
|
||||
|
||||
require github.com/gogf/gf/v2 v2.5.0
|
||||
require github.com/gogf/gf/v2 v2.5.1
|
||||
|
||||
replace github.com/gogf/gf/v2 => ../../../
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/registry/polaris/v2
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/polarismesh/polaris-go v1.5.1
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/go-zookeeper/zk v1.0.3
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
golang.org/x/sync v0.1.0
|
||||
)
|
||||
|
||||
|
@ -3,8 +3,8 @@ module github.com/gogf/gf/contrib/rpc/grpcx/v2
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/contrib/registry/file/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/registry/file/v2 v2.5.1
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
go.opentelemetry.io/otel v1.10.0
|
||||
go.opentelemetry.io/otel/trace v1.10.0
|
||||
golang.org/x/net v0.0.0-20220919232410-f2f64ebce3c1 // indirect
|
||||
|
@ -2,6 +2,6 @@ module github.com/gogf/gf/contrib/sdk/httpclient/v2
|
||||
|
||||
go 1.15
|
||||
|
||||
require github.com/gogf/gf/v2 v2.5.0
|
||||
require github.com/gogf/gf/v2 v2.5.1
|
||||
|
||||
replace github.com/gogf/gf/v2 => ../../../
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/trace/jaeger/v2
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
go.opentelemetry.io/otel v1.7.0
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.7.0
|
||||
go.opentelemetry.io/otel/sdk v1.7.0
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/trace/otlpgrpc/v2
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
go.opentelemetry.io/otel v1.16.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.16.0
|
||||
|
@ -3,7 +3,7 @@ module github.com/gogf/gf/contrib/trace/otlphttp/v2
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
go.opentelemetry.io/otel v1.16.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0
|
||||
|
@ -3,20 +3,20 @@ module github.com/gogf/gf/example
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/gogf/gf/contrib/config/apollo/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/config/kubecm/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/config/nacos/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/config/polaris/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/nosql/redis/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/registry/etcd/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/registry/file/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/registry/polaris/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/rpc/grpcx/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/trace/jaeger/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/trace/otlpgrpc/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/trace/otlphttp/v2 v2.5.0
|
||||
github.com/gogf/gf/v2 v2.5.0
|
||||
github.com/gogf/gf/contrib/config/apollo/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/config/kubecm/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/config/nacos/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/config/polaris/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/nosql/redis/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/registry/etcd/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/registry/file/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/registry/polaris/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/rpc/grpcx/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/trace/jaeger/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/trace/otlpgrpc/v2 v2.5.1
|
||||
github.com/gogf/gf/contrib/trace/otlphttp/v2 v2.5.1
|
||||
github.com/gogf/gf/v2 v2.5.1
|
||||
github.com/nacos-group/nacos-sdk-go v1.1.2
|
||||
github.com/polarismesh/polaris-go v1.5.1
|
||||
google.golang.org/grpc v1.55.0
|
||||
|
@ -2,5 +2,5 @@ package gf
|
||||
|
||||
const (
|
||||
// VERSION is the current GoFrame version.
|
||||
VERSION = "v2.5.0"
|
||||
VERSION = "v2.5.1"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user