db

package
v0.0.0-...-2208b7e Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	Close() error
}

func NewDatabase

func NewDatabase(config config.Config, logger *zap.SugaredLogger) (Database, error)

type Postgres

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

func (Postgres) Close

func (db Postgres) Close() error

Jump to

Keyboard shortcuts

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