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

Module Protobuf

Provides models of commonly used functions and types in the protobuf packages.

Import path

import semmle.go.frameworks.Protobuf

Predicates

modernProtobufPackage

Gets the name of the modern protobuf top-level implementation package.

protobufIfacePackage

Gets the name of the modern protobuf implementation’s protoiface subpackage.

protobufPackages

Gets the name of a top-level protobuf implementation package.

protobufReflectPackage

Gets the name of the modern protobuf implementation’s protoreflect subpackage.

Classes

GetMethod

A Get method of a protobuf Message type.

MessageType

A protobuf Message type.

UnmarshalFunction

The Unmarshal function in the protobuf packages.