goclient/

directory
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: AGPL-3.0, Apache-2.0

README

go client examples

Examples of using the go client with Dgraph. Built for Dgraph version 0.8.

  • crawlerRDF queries Dgraph, unmarshals results into custom structs and writes out an RDF file that can be loaded with dgraph-live-loader.
  • crawlermutation multithreaded crawler that shows how to use client with go routines. Concurrent crawlers query a source Dgraph, unmarshal into custom structs and write to a target Dgraph. Shows how to issue mutations using requests in client.
  • movielensbatch reads from CSV and uses the client batch interface to write to Dgraph.

Check out the blog post about these examples.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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