Documentation
¶
Overview ¶
Package flavortown_dessert is a generated protocol buffer package.
It is generated from these files:
dessert.proto
It has these top-level messages:
Dessert
Index ¶
- Variables
- type Dessert
- func (*Dessert) Descriptor() ([]byte, []int)
- func (this *Dessert) Equal(that interface{}) bool
- func (m *Dessert) Marshal() (data []byte, err error)
- func (m *Dessert) MarshalTo(data []byte) (int, error)
- func (*Dessert) ProtoMessage()
- func (m *Dessert) Reset()
- func (m *Dessert) Size() (n int)
- func (m *Dessert) String() string
- func (m *Dessert) Unmarshal(data []byte) error
- type DessertGetter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthDessert = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDessert = fmt.Errorf("proto: integer overflow") )
View Source
var GraphQLDessertType *github_com_graphql_go_graphql.Object
Functions ¶
This section is empty.
Types ¶
type Dessert ¶
type Dessert struct { // The name of the dish Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // How sweet is the dish, an integer between 0 and 10 Sweetness int32 `protobuf:"varint,2,opt,name=sweetness,proto3" json:"sweetness,omitempty"` }
A delicious dessert dish on the menu
func NewPopulatedDessert ¶
func (*Dessert) Descriptor ¶
func (*Dessert) ProtoMessage ¶
func (*Dessert) ProtoMessage()
type DessertGetter ¶
type DessertGetter interface {
GetDessert() *Dessert
}
Click to show internal directories.
Click to hide internal directories.