sqlite

package
v0.0.0-...-8164673 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubscriptionService

func NewSubscriptionService(db *DB) mailbus.SubscriptionService

Types

type DB

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

DB represents the database connection.

func NewDB

func NewDB(path string) *DB

NewDB returns new database

func (*DB) Close

func (db *DB) Close() error

Close closes database connection

func (*DB) Open

func (db *DB) Open() (err error)

Open opens new database connection

Jump to

Keyboard shortcuts

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