db

package
v0.0.0-...-ce79441 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: GPL-3.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 Config

type Config struct {
	DSN    string
	DbType string
	Logger *zap.SugaredLogger
}

type DB

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

func DBTestInit

func DBTestInit(t *testing.T) *DB

func New

func New(cfg Config) (*DB, error)

type Record

type Record struct {
	ID uint
}

Jump to

Keyboard shortcuts

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