type list … func FormatList(s fmt.State, r rune, vs list) { … } func formatListOpt(vs list, isRoot, allowMulti bool) string { … } type methodAndName … func FormatDesc(s fmt.State, r rune, t protoreflect.Descriptor) { … } func InternalFormatDescOptForTesting(t protoreflect.Descriptor, isRoot, allowMulti bool, record func(string)) string { … } func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool, record func(string)) string { … } type records … func (rs *records) AppendRecs(fieldName string, newRecs [2]string) { … } func (rs *records) Append(v reflect.Value, accessors ...methodAndName) { … } func (rs *records) Join() string { … } func formatColon(padding int) string { … } func joinStrings(ss []string, isMulti bool) string { … }