You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: go/CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Follow the steps below to help other users understand what your query does, and
44
44
45
45
4.**Make sure the `select` statement is compatible with the query type**
46
46
47
-
The `select` statement of your query must be compatible with the query type (determined by the `@kind` metadata property) for alert or path results to be displayed correctly in LGTM and Visual Studio Code.
47
+
The `select` statement of your query must be compatible with the query type (determined by the `@kind` metadata property) for alert or path results to be displayed correctly in query results.
48
48
For more information on `select` statement format, see [About CodeQL queries](https://codeql.github.com/docs/writing-codeql-queries/about-codeql-queries/#select-clause) on codeql.github.com.
Copy file name to clipboardExpand all lines: go/README.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,14 @@
1
1
# Go analysis support for CodeQL
2
2
3
-
This open-source repository contains the extractor, CodeQL libraries, and queries that power Go
4
-
support in [LGTM](https://lgtm.com) and the other CodeQL products that [GitHub](https://github.com)
5
-
makes available to its customers worldwide.
3
+
This sub-folder contains the extractor, CodeQL libraries, and queries that power Go
4
+
support for CodeQL.
6
5
7
6
It contains two major components:
8
7
- an extractor, itself written in Go, that parses Go source code and converts it into a database
9
8
that can be queried using CodeQL.
10
9
- static analysis libraries and queries written in [CodeQL](https://codeql.github.com/docs/) that can be
11
10
used to analyze such a database to find coding mistakes or security vulnerabilities.
12
11
13
-
The goal of this project is to provide comprehensive static analysis support for Go in CodeQL.
14
-
15
-
For the queries and libraries that power CodeQL support for other languages, visit [the CodeQL
16
-
repository](https://github.com/github/codeql).
17
-
18
12
## Installation
19
13
20
14
Clone this repository.
@@ -30,15 +24,9 @@ Code workspace.
30
24
31
25
To analyze a Go codebase, either use the [CodeQL command-line
32
26
interface](https://codeql.github.com/docs/codeql-cli/) to create a database yourself, or
33
-
download a pre-built database from [LGTM.com](https://lgtm.com/). You can then run any of the
27
+
download a pre-built database from [GitHub.com](https://codeql.github.com/docs/codeql-cli/creating-codeql-databases/#downloading-databases-from-github-com). You can then run any of the
34
28
queries contained in this repository either on the command line or using the VS Code extension.
35
29
36
-
Note that the [lgtm.com](https://github.com/github/codeql/tree/lgtm.com) branch of this
37
-
repository corresponds to the version of the queries that is currently deployed on LGTM.com.
38
-
The [main](https://github.com/github/codeql/tree/main) branch may contain changes that
39
-
have not been deployed yet, so you may need to upgrade databases downloaded from LGTM.com before
40
-
running queries on them.
41
-
42
30
## Contributions
43
31
44
32
Contributions are welcome! Please see our [contribution guidelines](CONTRIBUTING.md) and our
0 commit comments