go_format

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_person_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Person

type Person struct {
	Name      string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id        int32            `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Email     string           `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Followers *SocialFollowers `protobuf:"bytes,4,opt,name=followers,proto3" json:"followers,omitempty"`
	// contains filtered or unexported fields
}

func (*Person) Descriptor deprecated

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

Deprecated: Use Person.ProtoReflect.Descriptor instead.

func (*Person) GetEmail

func (x *Person) GetEmail() string

func (*Person) GetFollowers

func (x *Person) GetFollowers() *SocialFollowers

func (*Person) GetId

func (x *Person) GetId() int32

func (*Person) GetName

func (x *Person) GetName() string

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) ProtoReflect

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

func (*Person) Reset

func (x *Person) Reset()

func (*Person) String

func (x *Person) String() string

type SocialFollowers

type SocialFollowers struct {
	Youtube int32 `protobuf:"varint,1,opt,name=youtube,proto3" json:"youtube,omitempty"`
	Twitter int32 `protobuf:"varint,2,opt,name=twitter,proto3" json:"twitter,omitempty"`
	// contains filtered or unexported fields
}

func (*SocialFollowers) Descriptor deprecated

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

Deprecated: Use SocialFollowers.ProtoReflect.Descriptor instead.

func (*SocialFollowers) GetTwitter

func (x *SocialFollowers) GetTwitter() int32

func (*SocialFollowers) GetYoutube

func (x *SocialFollowers) GetYoutube() int32

func (*SocialFollowers) ProtoMessage

func (*SocialFollowers) ProtoMessage()

func (*SocialFollowers) ProtoReflect

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

func (*SocialFollowers) Reset

func (x *SocialFollowers) Reset()

func (*SocialFollowers) String

func (x *SocialFollowers) String() string

Jump to

Keyboard shortcuts

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