mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
225 B
Plaintext
14 lines
225 B
Plaintext
/**
|
|
* @name Variable
|
|
* @description Finds variables called "err".
|
|
* @id go/examples/errvariable
|
|
* @tags variable
|
|
* err
|
|
*/
|
|
|
|
import go
|
|
|
|
from Variable err
|
|
where err.getName() = "err"
|
|
select err, err.getDeclaration()
|