orm

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "chaki-orm-module"

Variables

This section is empty.

Functions

func Module

func Module(d driver.Driver, opts ...Option) *module.Module

Types

type GormProvider

type GormProvider interface {
	Get(ctx context.Context) *gorm.DB
}

type GormWrapper

type GormWrapper wrapper.Wrapper[*gorm.DB]

type Option

type Option interface {
	Apply(*options) *options
}

Directories

Path Synopsis
tx

Jump to

Keyboard shortcuts

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