sqlite

package
v1.1.0-rc-1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sqlite provides implementations for resource repository interfaces using SQLite as the underlying database. This package includes implementations for repositories that can be extended to fit specific use cases. It supports transaction management and context-based database operations.

Index

Constants

View Source
const (
	InMemoryDSN        = ":memory:"
	MemorySharedCached = "file:memory?mode=memory&cache=shared"
)

Variables

This section is empty.

Functions

func NewSQLiteDriver

func NewSQLiteDriver(dsn string) (*gorm.DB, error)

NewSQLiteDriver creates a gorm SQLite driver configured with our settings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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