retagpb

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// repeated retag.Tag oneof_tags = 100000;
	E_OneofTags = &file_retag_retag_proto_extTypes[1]
)

Extension fields to descriptorpb.OneofOptions.

View Source
var (
	// repeated retag.Tag tags = 100000;
	E_Tags = &file_retag_retag_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_retag_retag_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Tag

type Tag struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) GetValue

func (x *Tag) GetValue() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

func (*Tag) ToModel added in v0.0.13

func (x *Tag) ToModel() *TagModel

type TagModel added in v0.0.13

type TagModel struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

TagModel gen from github.com/pubgo/protobuild/pkg/retag.Tag

func (*TagModel) ToProto added in v0.0.13

func (m *TagModel) ToProto() *Tag

Jump to

Keyboard shortcuts

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