sql

package
v0.0.0-...-4ad0758 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound reports whether err means "no such row" in this backend. GORM already has a single canonical sentinel, so there is nothing to wrap — the bare driver error returned by First()/Take() is matched directly.

func NewProvider

func NewProvider(
	config *config.Config,
	deps *Dependencies,
) (*provider, error)

NewProvider returns a new SQL provider

Types

type Dependencies

type Dependencies struct {
	Log *zerolog.Logger
}

Dependencies struct the sql data store provider

Directories

Path Synopsis
Package sqlitedialect is a pure-Go GORM SQLite dialector.
Package sqlitedialect is a pure-Go GORM SQLite dialector.

Jump to

Keyboard shortcuts

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