Skip to content

Repository files navigation

record

github.com/dal-go/record defines the small, persistence-neutral vocabulary for identifying records, carrying record data, and describing changes to records.

It exists so API, rendering, command, and facade layers can depend on a stable record model without importing database sessions, queries, transactions, or an adapter. Database access belongs to DALgo: DALgo accepts these values at its boundary and executes a record.Changes envelope through dal.ApplyChanges.

The module contains two packages:

  • record for identity, data, envelopes, and change batches.
  • record/update for declarative field-update commands.

API

Every exported type and function is listed below. Links lead to its API documentation.

record

Errors

Keys and composite IDs

Record envelopes

Change envelopes and data mapping

record/update

About

Persistence-neutral record identity, envelopes, and update commands for dal-go

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages