pgsql

package
v0.0.0-...-7876fda Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() (*pgxpool.Pool, error)

Types

type AuthModel

type AuthModel struct {
	C *pgxpool.Pool
}

func (*AuthModel) Insert

func (db *AuthModel) Insert(auth models.Auth) (*models.Auth, error)

func (*AuthModel) Select

func (db *AuthModel) Select(auth models.Auth) (*models.Auth, error)

Jump to

Keyboard shortcuts

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