relationv1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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) Argument

func (*Borrow) Argument() graphql.FieldConfigArgument

Argument ...

func (*Borrow) Descriptor deprecated

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

Deprecated: Use Borrow.ProtoReflect.Descriptor instead.

func (*Borrow) GetDate

func (x *Borrow) GetDate() int64

func (*Borrow) GetFrom

func (x *Borrow) GetFrom() string

func (*Borrow) GetKey

func (x *Borrow) GetKey() string

func (*Borrow) GetTo

func (x *Borrow) GetTo() string

func (*Borrow) Object

func (*Borrow) Object() *graphql.Object

Object ...

func (*Borrow) Output

func (*Borrow) Output() graphql.Output

Output ...

func (*Borrow) ProtoMessage

func (*Borrow) ProtoMessage()

func (*Borrow) ProtoReflect

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

func (*Borrow) Reset

func (x *Borrow) Reset()

func (*Borrow) Schema

func (*Borrow) Schema() map[string]interface{}

Schema ...

func (*Borrow) String

func (x *Borrow) String() string

func (*Borrow) UnmarshalJSON

func (o *Borrow) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Borrow) UnmarshalMap

func (o *Borrow) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

Jump to

Keyboard shortcuts

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