fielddefault

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultValue

func DefaultValue(fld protoreflect.FieldDescriptor) string

DefaultValue returns the string representation of the default value for the given field. If it has no default, this returns the empty string. The string representation is the same as stored in the default_value field of a google.protobuf.FieldDescriptorProto message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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