Skip to content

Commit

Permalink
Merge pull request #97 from sev-2/feature/support-inverse-import-table
Browse files Browse the repository at this point in the history
set no generate models if allowed table value is empty in bff mode
  • Loading branch information
toopay authored Feb 21, 2025
2 parents bc4b938 + ac65a86 commit dc497cf
Show file tree
Hide file tree
Showing 11 changed files with 135 additions and 74 deletions.
1 change: 1 addition & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type Config struct {
GoogleProjectId string `mapstructure:"GOOGLE_PROJECT_ID"`
GoogleSaPath string `mapstructure:"GOOGLE_SA_PATH"`
JwtToken string `mapstructure:"JWT_TOKEN"`
LogLevel string `mapstructure:"LOG_LEVEL"`
MaxServerRequestBodySize int `mapstructure:"MAX_SERVER_REQUEST_BODY_SIZE"`
Mode Mode `mapstructure:"MODE"`
PgMetaUrl string `mapstructure:"PG_META_URL"`
Expand Down
43 changes: 21 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ go 1.21.5
require (
github.com/erikgeiser/promptkit v0.9.0
github.com/fasthttp/websocket v1.5.8
github.com/fatih/color v1.16.0
github.com/fatih/color v1.18.0
github.com/go-co-op/gocron/v2 v2.5.0
github.com/google/uuid v1.6.0
github.com/hashicorp/go-hclog v1.6.3
github.com/jarcoal/httpmock v1.3.1
github.com/jinzhu/inflection v1.0.0
github.com/oklog/run v1.1.0
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
github.com/zeromicro/go-zero v1.6.1
github.com/stretchr/testify v1.10.0
go.opentelemetry.io/otel v1.29.0
go.opentelemetry.io/otel/trace v1.29.0
golang.org/x/text v0.21.0
golang.org/x/text v0.22.0
google.golang.org/api v0.210.0
google.golang.org/grpc v1.67.1
)
Expand All @@ -29,10 +28,10 @@ require (
cloud.google.com/go/compute/metadata v0.5.2 // indirect
cloud.google.com/go/iam v1.2.2 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/charmbracelet/bubbles v0.16.1 // indirect
github.com/charmbracelet/bubbletea v0.24.2 // indirect
Expand All @@ -51,10 +50,10 @@ require (
github.com/google/s2a-go v0.1.8 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
github.com/googleapis/gax-go/v2 v2.14.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/jonboulle/clockwork v0.4.0 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
Expand All @@ -76,25 +75,24 @@ require (
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/tcplisten v1.0.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.29.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.uber.org/automaxprocs v1.5.3 // indirect
golang.org/x/crypto v0.31.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/automaxprocs v1.6.0 // indirect
golang.org/x/crypto v0.33.0 // indirect
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/net v0.35.0 // indirect
golang.org/x/oauth2 v0.24.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/term v0.27.0 // indirect
golang.org/x/time v0.8.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/term v0.29.0 // indirect
golang.org/x/time v0.9.0 // indirect
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241113202542-65e8d215514f // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/protobuf v1.35.2 // indirect
google.golang.org/protobuf v1.36.4 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand All @@ -110,10 +108,11 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ory/viper v1.7.5
github.com/spf13/pflag v1.0.5 // indirect
github.com/valyala/fasthttp v1.52.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.22.0
github.com/valyala/fasthttp v1.59.0
github.com/zeromicro/go-zero v1.8.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0
go.opentelemetry.io/otel/sdk v1.29.0
golang.org/x/mod v0.18.0
golang.org/x/sys v0.28.0 // indirect
golang.org/x/sys v0.30.0 // indirect
)
Loading

0 comments on commit dc497cf

Please sign in to comment.