dao

package
v0.0.0-...-74e38f5 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package dao provides utility structs, interfaces and methods related to Data Access Objects (DAOs). DAOs are a paradigm for data layer abstraction which uses self-returning functions to build parameters, ending in a CRUD function.

Typically, parameter functions start with either `With` or `Set`. A `With` function is used to restrict the operation to a certain subset of the data, while a `Set` function is typically used to set data for an update or a create method.

The following sub-packages are provided to ease a developer's burden when creating DAO interfaces and implementations. Please read the documentation specific to each sub-package for more details. - daohelpers - postgres - transaction - testdao

Directories

Path Synopsis
Package daohelpers provides helper interfaces to ease the burden of creating DAO interfaces that perform similarly.
Package daohelpers provides helper interfaces to ease the burden of creating DAO interfaces that perform similarly.
Package transaction provides utilities for wrapping operations in a transaction.
Package transaction provides utilities for wrapping operations in a transaction.

Jump to

Keyboard shortcuts

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