Documentation
¶
Index ¶
- Variables
- type Library
- func (*Library) Argument() graphql.FieldConfigArgument
- func (*Library) Descriptor() ([]byte, []int)deprecated
- func (x *Library) GetKey() string
- func (x *Library) GetLocation() *Library_Location
- func (x *Library) GetName() string
- func (*Library) Object() *graphql.Object
- func (*Library) Output() graphql.Output
- func (*Library) ProtoMessage()
- func (x *Library) ProtoReflect() protoreflect.Message
- func (x *Library) Reset()
- func (*Library) Schema() map[string]interface{}
- func (x *Library) String() string
- func (o *Library) UnmarshalJSON(b []byte) error
- func (o *Library) UnmarshalMap(values map[string]interface{})
- type Library_Location
- func (*Library_Location) Argument() graphql.FieldConfigArgument
- func (*Library_Location) Descriptor() ([]byte, []int)deprecated
- func (x *Library_Location) GetLat() float32
- func (x *Library_Location) GetLng() float32
- func (*Library_Location) Object() *graphql.Object
- func (*Library_Location) Output() graphql.Output
- func (*Library_Location) ProtoMessage()
- func (x *Library_Location) ProtoReflect() protoreflect.Message
- func (x *Library_Location) Reset()
- func (*Library_Location) Schema() map[string]interface{}
- func (x *Library_Location) String() string
- func (o *Library_Location) UnmarshalJSON(b []byte) error
- func (o *Library_Location) UnmarshalMap(values map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var File_library_v1_library_proto protoreflect.FileDescriptor
View Source
var Library_Arg = graphql.FieldConfigArgument{ "_key": &graphql.ArgumentConfig{ Type: graphql.ID, }, "name": &graphql.ArgumentConfig{ Type: graphql.String, }, "location": &graphql.ArgumentConfig{ Type: Library_Location_Input, }, }
View Source
var Library_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Library_Input", Fields: graphql.InputObjectConfigFieldMap{ "_key": &graphql.InputObjectFieldConfig{ Type: graphql.ID, }, "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "location": &graphql.InputObjectFieldConfig{ Type: Library_Location_Input, }, }, })
View Source
var Library_Location_Arg = graphql.FieldConfigArgument{ "lat": &graphql.ArgumentConfig{ Type: graphql.Float, }, "lng": &graphql.ArgumentConfig{ Type: graphql.Float, }, }
View Source
var Library_Location_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Library_Location_Input", Fields: graphql.InputObjectConfigFieldMap{ "lat": &graphql.InputObjectFieldConfig{ Type: graphql.Float, }, "lng": &graphql.InputObjectFieldConfig{ Type: graphql.Float, }, }, })
Functions ¶
This section is empty.
Types ¶
type Library ¶ added in v0.0.12
type Library struct {
Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Location *Library_Location `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
func (*Library) Argument ¶ added in v0.1.0
func (*Library) Argument() graphql.FieldConfigArgument
Argument ...
func (*Library) Descriptor
deprecated
added in
v0.0.12
func (*Library) GetLocation ¶ added in v0.0.12
func (x *Library) GetLocation() *Library_Location
func (*Library) ProtoMessage ¶ added in v0.0.12
func (*Library) ProtoMessage()
func (*Library) ProtoReflect ¶ added in v0.0.12
func (x *Library) ProtoReflect() protoreflect.Message
func (*Library) UnmarshalJSON ¶ added in v0.0.12
UnmarshalJSON ...
func (*Library) UnmarshalMap ¶ added in v0.0.12
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Library_Location ¶ added in v0.0.12
type Library_Location struct {
Lat float32 `protobuf:"fixed32,1,opt,name=lat,proto3" json:"lat,omitempty"`
Lng float32 `protobuf:"fixed32,2,opt,name=lng,proto3" json:"lng,omitempty"`
// contains filtered or unexported fields
}
func (*Library_Location) Argument ¶ added in v0.1.0
func (*Library_Location) Argument() graphql.FieldConfigArgument
Argument ...
func (*Library_Location) Descriptor
deprecated
added in
v0.0.12
func (*Library_Location) Descriptor() ([]byte, []int)
Deprecated: Use Library_Location.ProtoReflect.Descriptor instead.
func (*Library_Location) GetLat ¶ added in v0.0.12
func (x *Library_Location) GetLat() float32
func (*Library_Location) GetLng ¶ added in v0.0.12
func (x *Library_Location) GetLng() float32
func (*Library_Location) Object ¶ added in v0.1.0
func (*Library_Location) Object() *graphql.Object
Object ...
func (*Library_Location) Output ¶ added in v0.1.0
func (*Library_Location) Output() graphql.Output
Output ...
func (*Library_Location) ProtoMessage ¶ added in v0.0.12
func (*Library_Location) ProtoMessage()
func (*Library_Location) ProtoReflect ¶ added in v0.0.12
func (x *Library_Location) ProtoReflect() protoreflect.Message
func (*Library_Location) Reset ¶ added in v0.0.12
func (x *Library_Location) Reset()
func (*Library_Location) Schema ¶ added in v0.0.12
func (*Library_Location) Schema() map[string]interface{}
Schema ...
func (*Library_Location) String ¶ added in v0.0.12
func (x *Library_Location) String() string
func (*Library_Location) UnmarshalJSON ¶ added in v0.0.12
func (o *Library_Location) UnmarshalJSON(b []byte) error
UnmarshalJSON ...
func (*Library_Location) UnmarshalMap ¶ added in v0.0.12
func (o *Library_Location) UnmarshalMap(values map[string]interface{})
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
Click to show internal directories.
Click to hide internal directories.