package descfmt

import "google.golang.org/protobuf/internal/descfmt"

Package descfmt provides functionality to format descriptors.

Index

Functions

func FormatDesc

func FormatDesc(s fmt.State, r rune, t protoreflect.Descriptor)

func FormatList

func FormatList(s fmt.State, r rune, vs list)

func InternalFormatDescOptForTesting

func InternalFormatDescOptForTesting(t protoreflect.Descriptor, isRoot, allowMulti bool, record func(string)) string

Source Files

stringer.go

Version
v1.36.5 (latest)
Published
Feb 6, 2025
Platform
linux/amd64
Imports
8 packages
Last checked
10 hours ago

Tools for package owners.