Documentation ¶
Index ¶
- Variables
- type Location
- func (*Location) Argument() graphql.FieldConfigArgument
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetLatitude() float32
- func (x *Location) GetLongitude() float32
- func (*Location) Object() *graphql.Object
- func (*Location) Output() graphql.Output
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (*Location) Schema() map[string]interface{}
- func (x *Location) String() string
- func (o *Location) UnmarshalJSON(b []byte) error
- func (o *Location) UnmarshalMap(values map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var File_utils_v1_geo_proto protoreflect.FileDescriptor
View Source
var Location_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Location_Input", Fields: graphql.InputObjectConfigFieldMap{ "latitude": &graphql.InputObjectFieldConfig{ Type: graphql.Float, }, "longitude": &graphql.InputObjectFieldConfig{ Type: graphql.Float, }, }, })
Functions ¶
This section is empty.
Types ¶
type Location ¶
type Location struct { Latitude float32 `protobuf:"fixed32,1,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float32 `protobuf:"fixed32,2,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*Location) Descriptor
deprecated
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
func (*Location) UnmarshalMap ¶
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
Click to show internal directories.
Click to hide internal directories.