proto

package
v0.0.0-...-d26c2ba Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Teacher

type Teacher struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Course []string `protobuf:"bytes,2,rep,name=course,proto3" json:"course,omitempty"`
	// contains filtered or unexported fields
}

func (*Teacher) Descriptor deprecated

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

Deprecated: Use Teacher.ProtoReflect.Descriptor instead.

func (*Teacher) GetCourse

func (x *Teacher) GetCourse() []string

func (*Teacher) GetName

func (x *Teacher) GetName() string

func (*Teacher) ProtoMessage

func (*Teacher) ProtoMessage()

func (*Teacher) ProtoReflect

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

func (*Teacher) Reset

func (x *Teacher) Reset()

func (*Teacher) String

func (x *Teacher) String() string

Jump to

Keyboard shortcuts

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