📄️ Introduction
Learn how to use ArangoDB as the database backend for your Go application
📄️ The Go driver
About
📄️ Go idioms
Go uses package names as datatypes, and datatypes as qualifiers, to invoke member functions:
📄️ Configuring the driver
To use the driver, first, fetch the sources into your GOPATH.
📄️ Important types for Go
Key types you’ll need to know about to work with Arango using the Go driver are:
📄️ Relationships between Go types and JSON
A basic principle of the integration between Go and ArangoDB is the mapping from Go types to JSON documents. Data in the database map to types in Go through JSON. You will need at least two types in a Golang program to work with graphs
📄️ API Design
Concurrency
📄️ Connecting to ArangoDB
Connecting to databases
📄️ Connection Management
Failover
📄️ Working with databases
Create a new database
📄️ Working with collections
Creating a collection
📄️ Working with documents
Creating a document
📄️ Working with AQL
Query documents, one document at a time
📄️ Concrete example
Here is a concrete example
📄️ Wrap up
You have just learned the basic use of ArangoDB's Go driver to develop your application with Go and ArangoDB.