dgraph

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSchema

func GetSchema(schema, query string)

func SetObject

func SetObject()

Types

type CancelFunc

type CancelFunc func()

func GetDgraphClient

func GetDgraphClient() (*dgo.Dgraph, CancelFunc)

type Person

type Person struct {
	Uid       string     `json:"uid,omitempty"`
	Name      string     `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Status    bool       `json:"status,omitempty"`
	Friend    []Person   `json:"friend,omitempty"`
	Location  loc        `json:"loc,omitempty"`
	DType     []string   `json:"dgraph.type,omitempty"`
}

Jump to

Keyboard shortcuts

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