Documentation ¶
Index ¶
- Variables
- type Dessert
- func (*Dessert) Descriptor() ([]byte, []int)
- func (this *Dessert) Equal(that interface{}) bool
- func (m *Dessert) GetName() string
- func (m *Dessert) GetSweetness() int32
- 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
- func (m *Dessert) XXX_DiscardUnknown()
- func (m *Dessert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dessert) XXX_Merge(src proto.Message)
- func (m *Dessert) XXX_Size() int
- func (m *Dessert) XXX_Unmarshal(b []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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A delicious dessert dish on the menu
func NewPopulatedDessert ¶
func (*Dessert) Descriptor ¶
func (*Dessert) GetSweetness ¶
func (*Dessert) ProtoMessage ¶
func (*Dessert) ProtoMessage()
func (*Dessert) XXX_DiscardUnknown ¶
func (m *Dessert) XXX_DiscardUnknown()
func (*Dessert) XXX_Marshal ¶
func (*Dessert) XXX_Unmarshal ¶
type DessertGetter ¶
type DessertGetter interface {
GetDessert() *Dessert
}
Click to show internal directories.
Click to hide internal directories.