...

Package descfmt

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

Overview ▾

Package descfmt provides functionality to format descriptors.

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