sqlite

package
v0.0.0-...-7ceaf83 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Path string
}

Config - config

type Store

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

Store implementation of db interface

func New

func New(tracer trace.TracerProvider, metrics *metric.MeterProvider) *Store

New - create new instance of Store

func (*Store) GetConn

func (s *Store) GetConn() any

GetConn - return connection

func (*Store) Init

func (s *Store) Init(ctx context.Context) error

Init - init connection

Jump to

Keyboard shortcuts

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