From 6c8ae55a683020e4169235fef32cedee0bfa1676 Mon Sep 17 00:00:00 2001 From: Bharadwaj Machiraju Date: Thu, 21 Sep 2023 00:25:13 +0530 Subject: [PATCH] Enable GoKit module into the default list --- .../2023-09-21-enable-gokit-framework-by-default.md | 4 ++++ go/ql/lib/go.qll | 1 + go/ql/lib/semmle/go/frameworks/GoKit.qll | 3 --- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 go/ql/lib/change-notes/2023-09-21-enable-gokit-framework-by-default.md diff --git a/go/ql/lib/change-notes/2023-09-21-enable-gokit-framework-by-default.md b/go/ql/lib/change-notes/2023-09-21-enable-gokit-framework-by-default.md new file mode 100644 index 00000000000..bd7682a4c22 --- /dev/null +++ b/go/ql/lib/change-notes/2023-09-21-enable-gokit-framework-by-default.md @@ -0,0 +1,4 @@ +--- +category: minorAnalysis +--- +* Added `GoKit.qll` to `go.qll` enabling the GoKit framework by default \ No newline at end of file diff --git a/go/ql/lib/go.qll b/go/ql/lib/go.qll index 8ade2f7f4ab..ccb4643d921 100644 --- a/go/ql/lib/go.qll +++ b/go/ql/lib/go.qll @@ -40,6 +40,7 @@ import semmle.go.frameworks.Email import semmle.go.frameworks.Encoding import semmle.go.frameworks.Gin import semmle.go.frameworks.Glog +import semmle.go.frameworks.GoKit import semmle.go.frameworks.GoMicro import semmle.go.frameworks.GoRestfulHttp import semmle.go.frameworks.Gqlgen diff --git a/go/ql/lib/semmle/go/frameworks/GoKit.qll b/go/ql/lib/semmle/go/frameworks/GoKit.qll index c501858997c..7150493f88a 100644 --- a/go/ql/lib/semmle/go/frameworks/GoKit.qll +++ b/go/ql/lib/semmle/go/frameworks/GoKit.qll @@ -1,8 +1,5 @@ /** * Provides classes for working with concepts relating to the [github.com/go-kit/kit](https://pkg.go.dev/github.com/go-kit/kit) package. - * - * Note that these models are not included by default; to include them, add `import semmle.go.frameworks.GoKit` to your query or to - * `Customizations.qll`. */ import go