Help us shape the future of Go! Take the 2026 Go Developer Survey

typeid

package
v0.36.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package typeid declares stable type identifiers for protobuf messages.

A message declares its identifier with the (typeid.id) option. The aptre generator then emits a TypeID method for the message and lists the typed messages of each proto file as a []Type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type struct {
	// ID is the stable type identifier.
	ID string
	// New constructs an empty message of the type.
	New func() any
}

Type is a message type with a stable identifier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL