tag

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional google.protobuf.FieldTag field_tag = 65000;
	E_FieldTag = &file_cmd_protoc_gen_go_ext_extension_tag_tag_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_cmd_protoc_gen_go_ext_extension_tag_tag_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FieldTag

type FieldTag struct {

	// struct tag.
	StructTag string `protobuf:"bytes,1,opt,name=struct_tag,json=structTag,proto3" json:"struct_tag,omitempty"` // custom struct tag
	// contains filtered or unexported fields
}

func (*FieldTag) Descriptor deprecated

func (*FieldTag) Descriptor() ([]byte, []int)

Deprecated: Use FieldTag.ProtoReflect.Descriptor instead.

func (*FieldTag) GetStructTag

func (x *FieldTag) GetStructTag() string

func (*FieldTag) ProtoMessage

func (*FieldTag) ProtoMessage()

func (*FieldTag) ProtoReflect

func (x *FieldTag) ProtoReflect() protoreflect.Message

func (*FieldTag) Reset

func (x *FieldTag) Reset()

func (*FieldTag) String

func (x *FieldTag) String() string

Jump to

Keyboard shortcuts

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