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

Module StringOps::HasPrefix

Provides predicates and classes for working with prefix checks.

Import path

import semmle.go.StringOps

Classes

Range

An expression that is equivalent to strings.HasPrefix(A, B) or !strings.HasPrefix(A, B).