repository_database

package
v0.0.0-...-4092cae Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 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 struct {
	Conn *sql.DB
}

func NewDatabase

func NewDatabase(ctx context.Context, cfg *repository_config.Config) *Database

func (*Database) GetUser

func (d *Database) GetUser(ctx context.Context, id int) (string, error)

Jump to

Keyboard shortcuts

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