trigram

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Db

type Db struct {
	// contains filtered or unexported fields
}

func NewDb

func NewDb(dsName string) *Db

NewDb creates new db object

func (*Db) Init

func (d *Db) Init(ctx context.Context) error

Init implements linker.Initializer interface

func (*Db) NewModelTx

func (d *Db) NewModelTx(ctx context.Context) persistence.ModelTx

NewModelTx returns the new ModelTx object

func (*Db) NewTx

func (d *Db) NewTx(ctx context.Context) persistence.Tx

NewTx returns the new Tx object

func (*Db) Shutdown

func (d *Db) Shutdown()

Shutdown implements linker.Shutdowner interface

Jump to

Keyboard shortcuts

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