utilsv1

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

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,
		},
	},
})
View Source
var Location_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "Location",
	Fields: graphql.Fields{
		"latitude": &graphql.Field{
			Type: graphql.Float,
		},
		"longitude": &graphql.Field{
			Type: graphql.Float,
		},
	},
	Description: "",
})

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

func (*Location) Argument() graphql.FieldConfigArgument

Argument ...

func (*Location) Descriptor deprecated

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

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetLatitude

func (x *Location) GetLatitude() float32

func (*Location) GetLongitude

func (x *Location) GetLongitude() float32

func (*Location) Object

func (*Location) Object() *graphql.Object

Object ...

func (*Location) Output

func (*Location) Output() graphql.Output

Output ...

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

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

func (*Location) Reset

func (x *Location) Reset()

func (*Location) Schema

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

Schema ...

func (*Location) String

func (x *Location) String() string

func (*Location) UnmarshalJSON

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

UnmarshalJSON ...

func (*Location) UnmarshalMap

func (o *Location) 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