CodeQL library for Go
codeql/go-all 0.7.13 (changelog, source)
Search

Module Builtin

Provides helper predicates for working with built-in objects from the universe scope.

Import path

import semmle.go.Scopes

Predicates

append

Gets the built-in function append.

bool

Gets the built-in type bool.

bool

Gets the built-in constant corresponding to b.

byte

Gets the built-in type byte.

cap

Gets the built-in function cap.

clear

Gets the built-in function clear.

close

Gets the built-in function close.

complex

Gets the built-in function complex.

complex128

Gets the built-in type complex128.

complex64

Gets the built-in type complex64.

copy

Gets the built-in function copy.

delete

Gets the built-in function delete.

error

Gets the built-in type error.

false_

Gets the built-in constant false.

float32

Gets the built-in type float32.

float64

Gets the built-in type float64.

imag

Gets the built-in function imag.

int16

Gets the built-in type int16.

int32

Gets the built-in type int32.

int64

Gets the built-in type int64.

int8

Gets the built-in type int8.

int_

Gets the built-in type int.

iota

Gets the built-in constant iota.

len

Gets the built-in function len.

make

Gets the built-in function make.

max_

Gets the built-in function max.

min_

Gets the built-in function min.

new

Gets the built-in function new.

nil

Gets the built-in zero-value nil.

panic

Gets the built-in function panic.

print

Gets the built-in function print.

println

Gets the built-in function println.

real

Gets the built-in function real.

recover

Gets the built-in function recover.

rune

Gets the built-in type rune.

string_

Gets the built-in type string.

true_

Gets the built-in constant true.

uint

Gets the built-in type uint.

uint16

Gets the built-in type uint16.

uint32

Gets the built-in type uint32.

uint64

Gets the built-in type uint64.

uint8

Gets the built-in type uint8.

uintptr

Gets the built-in type uintptr.