Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go: update depstubber files #19076

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go/ql/test/experimental/CWE-285/vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# github.com/msteinert/pam v1.0.0
## explicit
github.com/msteinert/pam
github.com/msteinert/pam
2 changes: 1 addition & 1 deletion go/ql/test/experimental/CWE-321-V2/vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# github.com/go-jose/go-jose/v3 v3.0.0
## explicit
github.com/go-jose/go-jose/v3
github.com/go-jose/go-jose/v3/jwt
# github.com/golang-jwt/jwt/v5 v5.0.0
## explicit
github.com/golang-jwt/jwt/v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
github.com/DataDog/zstd
# github.com/dsnet/compress v0.0.1
## explicit
github.com/dsnet/compress
github.com/dsnet/compress/bzip2
github.com/dsnet/compress/flate
# github.com/golang/snappy v0.0.4
## explicit
github.com/golang/snappy
# github.com/klauspost/compress v1.16.6
## explicit
github.com/klauspost/compress
github.com/klauspost/compress/zstd
github.com/klauspost/compress/snappy
github.com/klauspost/compress/s2
github.com/klauspost/compress/zlib
github.com/klauspost/compress/zip
github.com/klauspost/compress/flate
github.com/klauspost/compress/gzip
# github.com/klauspost/pgzip v1.2.6
## explicit
github.com/klauspost/pgzip
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# github.com/github/depstubber v0.0.0-20200916130315-f3217697abd4
## explicit
# github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
## explicit
github.com/golang/glog
# github.com/sirupsen/logrus v1.7.0
## explicit
github.com/sirupsen/logrus
# golang.org/x/sys v0.0.0-20191026070338-33540a1f6037
golang.org/x/sys/unix
golang.org/x/sys/windows
# k8s.io/klog v1.0.0
## explicit
k8s.io/klog
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# github.com/astaxie/beego v1.12.3
## explicit
github.com/astaxie/beego
github.com/astaxie/beego/context
github.com/astaxie/beego/logs
github.com/astaxie/beego/utils
# github.com/beego/beego/v2 v2.1.2
## explicit
github.com/beego/beego/v2
github.com/beego/beego/v2/server/web
github.com/beego/beego/v2/server/web/context
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
github.com/elazarl/goproxy
# github.com/github/depstubber v0.0.0-20201214172518-12c3da4b7c9d
## explicit
github.com/github/depstubber

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# github.com/sendgrid/sendgrid-go v3.5.0+incompatible
## explicit
github.com/sendgrid/sendgrid-go
github.com/sendgrid/sendgrid-go/helpers/mail
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# github.com/gin-gonic/gin v1.6.2
## explicit
github.com/gin-gonic/gin
github.com/gin-gonic/gin/binding
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# go-micro.dev/v4 v4.10.2
## explicit
go-micro.dev/v4
go-micro.dev/v4/api
go-micro.dev/v4/client
go-micro.dev/v4/server
# google.golang.org/protobuf v1.28.1
## explicit
google.golang.org/protobuf
google.golang.org/protobuf/proto
google.golang.org/protobuf/reflect/protoreflect
google.golang.org/protobuf/runtime/protoimpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# github.com/kataras/iris/v12 v12.2.5
## explicit
github.com/kataras/iris/v12
github.com/kataras/iris/v12/context
# github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06
## explicit
github.com/Shopify/goreferrer
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# k8s.io/api v0.20.0
## explicit
k8s.io/api
k8s.io/api/core/v1
k8s.io/apimachinery/pkg/runtime
# k8s.io/apimachinery v0.20.0
## explicit
k8s.io/apimachinery
k8s.io/apimachinery/pkg/runtime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# k8s.io/apimachinery v0.19.4
## explicit
k8s.io/apimachinery
k8s.io/apimachinery/pkg/conversion
k8s.io/apimachinery/pkg/runtime
k8s.io/apimachinery/pkg/runtime/schema
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ golang.org/x/oauth2
golang.org/x/time
# k8s.io/client-go v0.19.0
## explicit
k8s.io/client-go
k8s.io/client-go/kubernetes/typed/core/v1
# k8s.io/utils v0.0.0-20201110183641-67b214c5f920
## explicit
k8s.io/utils
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# go.mongodb.org/mongo-driver v1.3.2
## explicit
go.mongodb.org/mongo-driver
# github.com/couchbase/gocb/v2 v2.2.0
## explicit
github.com/couchbase/gocb/v2
Expand All @@ -10,6 +7,10 @@ github.com/google/uuid
# github.com/opentracing/opentracing-go v1.2.0
## explicit
github.com/opentracing/opentracing-go
# go.mongodb.org/mongo-driver v1.3.2
## explicit
go.mongodb.org/mongo-driver/bson
go.mongodb.org/mongo-driver/mongo
# gopkg.in/couchbase/gocb.v1 v1.6.7
## explicit
gopkg.in/couchbase/gocb.v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
github.com/go-stack/stack
# github.com/revel/modules v1.0.0
## explicit
github.com/revel/modules
github.com/revel/modules/orm/gorp/app/controllers
github.com/revel/modules/static/app/controllers
# github.com/revel/revel v1.0.0
## explicit
github.com/revel/revel
github.com/revel/revel/logger
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# github.com/gogf/gf v1.16.9
## explicit
github.com/gogf/gf
github.com/gogf/gf/database/gdb
github.com/gogf/gf/frame/g
# github.com/BurntSushi/toml v0.3.1
## explicit
github.com/BurntSushi/toml
Expand Down
2 changes: 1 addition & 1 deletion go/ql/test/library-tests/semmle/go/frameworks/SQL/pg.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

//go:generate depstubber -vendor github.com/go-pg/pg Conn,DB,Tx Q
//go:generate depstubber -vendor github.com/go-pg/pg/orm Query Q
//go:generate depstubber -vendor github.com/go-pg/pg/orm Query,Formatter Q
//go:generate depstubber -vendor github.com/go-pg/pg/v9 Conn,DB,Tx Q

import (
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# github.com/davecgh/go-spew v1.1.1
## explicit
github.com/davecgh/go-spew
github.com/davecgh/go-spew/spew
# github.com/github/depstubber v0.0.0-20200916130315-f3217697abd4
## explicit
github.com/github/depstubber

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading