kit

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional go.terra.kit.StructTag tag = 82295501;
	E_Tag = &file_kit_tag_proto_extTypes[0]
)

Extension fields to descriptor.FieldOptions.

View Source
var (
	// optional go.terra.kit.FieldType type = 82295500;
	E_Type = &file_kit_data_type_proto_extTypes[0] // 字段类型 "github.com/google/uuid.UUID"
)

Extension fields to descriptor.FieldOptions.

View Source
var File_kit_data_type_proto protoreflect.FileDescriptor
View Source
var File_kit_kit_proto protoreflect.FileDescriptor
View Source
var File_kit_tag_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FieldType added in v0.0.2

type FieldType struct {
	GoPkg  string `protobuf:"bytes,1,opt,name=go_pkg,json=goPkg,proto3" json:"go_pkg,omitempty"`
	GoType string `protobuf:"bytes,2,opt,name=go_type,json=goType,proto3" json:"go_type,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldType) Descriptor deprecated added in v0.0.2

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

Deprecated: Use FieldType.ProtoReflect.Descriptor instead.

func (*FieldType) GetGoPkg added in v0.0.2

func (x *FieldType) GetGoPkg() string

func (*FieldType) GetGoType added in v0.0.2

func (x *FieldType) GetGoType() string

func (*FieldType) ProtoMessage added in v0.0.2

func (*FieldType) ProtoMessage()

func (*FieldType) ProtoReflect added in v0.0.2

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

func (*FieldType) Reset added in v0.0.2

func (x *FieldType) Reset()

func (*FieldType) String added in v0.0.2

func (x *FieldType) String() string

type StructTag added in v0.0.2

type StructTag struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Omitempty bool   `protobuf:"varint,2,opt,name=omitempty,proto3" json:"omitempty,omitempty"`
	// contains filtered or unexported fields
}

func (*StructTag) Descriptor deprecated added in v0.0.2

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

Deprecated: Use StructTag.ProtoReflect.Descriptor instead.

func (*StructTag) GetName added in v0.0.2

func (x *StructTag) GetName() string

func (*StructTag) GetOmitempty added in v0.0.2

func (x *StructTag) GetOmitempty() bool

func (*StructTag) ProtoMessage added in v0.0.2

func (*StructTag) ProtoMessage()

func (*StructTag) ProtoReflect added in v0.0.2

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

func (*StructTag) Reset added in v0.0.2

func (x *StructTag) Reset()

func (*StructTag) String added in v0.0.2

func (x *StructTag) String() string

Jump to

Keyboard shortcuts

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