--- title: Go queries for CodeQL analysis shortTitle: Go CodeQL queries intro: 'Explore the queries that {% data variables.product.prodname_codeql %} uses to analyze code written in Go (Golang) when you select the `default` or the `security-extended` query suite.' product: '{% data reusables.gated-features.codeql %}' allowTitleToDifferFromFilename: true versions: fpt: '*' ghes: '*' ghec: '*' type: reference topics: - Code scanning - CodeQL --- {% data variables.product.prodname_codeql %} includes many queries for analyzing Go code. {% data reusables.code-scanning.codeql-query-tables.query-suite-behavior %} ## Built-in queries for Go analysis {% data reusables.code-scanning.codeql-query-tables.codeql-version-info %} {% data reusables.code-scanning.codeql-query-tables.go %}