Getting started
Install doc and go from an empty .doc file to a working MongoDB query, both from Go and from the doc command line, in under a minute.
Three short pages: how doc thinks about a database (one file, MVCC reads, durable transactional writes, an API shaped like the MongoDB Go driver), how to install the doc binary or add the library to a Go module, and a guided first run that ends with a real query returning real documents.
Introduction
What doc is, how it stores data, and when to reach for it instead of a MongoDB server or a SQL database.
Installation
Install the doc binary from Go, Homebrew, Scoop, a Linux package, or the container image, or add the doc library to a Go module.
Quick start
Create a .doc file, insert documents, and run a query and an aggregation, first from the command line and then from Go.