Documentation ¶
Index ¶
- Variables
- type Borrow
- func (*Borrow) Argument() graphql.FieldConfigArgument
- func (*Borrow) Descriptor() ([]byte, []int)deprecated
- func (x *Borrow) GetDate() int64
- func (x *Borrow) GetFrom() string
- func (x *Borrow) GetKey() string
- func (x *Borrow) GetTo() string
- func (*Borrow) Object() *graphql.Object
- func (*Borrow) Output() graphql.Output
- func (*Borrow) ProtoMessage()
- func (x *Borrow) ProtoReflect() protoreflect.Message
- func (x *Borrow) Reset()
- func (*Borrow) Schema() map[string]interface{}
- func (x *Borrow) String() string
- func (o *Borrow) UnmarshalJSON(b []byte) error
- func (o *Borrow) UnmarshalMap(values map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Borrow_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Borrow_Input", Fields: graphql.InputObjectConfigFieldMap{ "_key": &graphql.InputObjectFieldConfig{ Type: graphql.ID, }, "_from": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "_to": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "date": &graphql.InputObjectFieldConfig{ Type: graphql.Int, }, }, })
View Source
var Borrow_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Borrow", Fields: graphql.Fields{ "_key": &graphql.Field{ Type: graphql.ID, }, "_from": &graphql.Field{ Type: graphql.String, }, "_to": &graphql.Field{ Type: graphql.String, }, "date": &graphql.Field{ Type: graphql.Int, }, }, Description: "", })
View Source
var File_relation_v1_library_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Borrow ¶
type Borrow struct { Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"` From string `protobuf:"bytes,2,opt,name=_from,proto3" json:"_from,omitempty"` To string `protobuf:"bytes,3,opt,name=_to,proto3" json:"_to,omitempty"` Date *int64 `protobuf:"varint,4,opt,name=date,proto3,oneof" json:"date,omitempty"` // contains filtered or unexported fields }
func (*Borrow) Descriptor
deprecated
func (*Borrow) ProtoMessage ¶
func (*Borrow) ProtoMessage()
func (*Borrow) ProtoReflect ¶
func (x *Borrow) ProtoReflect() protoreflect.Message
func (*Borrow) UnmarshalMap ¶
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
Click to show internal directories.
Click to hide internal directories.