Documentation
¶
Overview ¶
Command quickstart is the compiled source of the snippets in the root README. TestReadmeSnippetsAreCompiled keeps the two in step, so edit the code here and the README together.
Run it against a database that has the migrations applied:
DATABASE_URL=postgres://... go run ./examples/quickstart
Directories
¶
| Path | Synopsis |
|---|---|
|
Package models is the schema of the quickstart: authors and their posts, each post carrying an embedding for similarity search.
|
Package models is the schema of the quickstart: authors and their posts, each post carrying an embedding for similarity search. |
|
author
Package author holds typed column descriptors and relation descriptors for the Author model.
|
Package author holds typed column descriptors and relation descriptors for the Author model. |
|
post
Package post holds typed column descriptors and relation descriptors for the Post model.
|
Package post holds typed column descriptors and relation descriptors for the Post model. |
Click to show internal directories.
Click to hide internal directories.