database

package
v0.0.0-...-1654f0b Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrPIDNotFound is returned if a given PID is not found in the database
	ErrPIDNotFound = errors.New("PID not found")

	// ErrFriendRequestNotFound is returned if a given friend request is not found in the database
	ErrFriendRequestNotFound = errors.New("Friend request not found")

	// ErrFriendshipNotFound is returned if a given friendship is not found in the database
	ErrFriendshipNotFound = errors.New("Friendship not found")

	// ErrBlockListNotFound is returned if a given PID does not have a blacklist
	ErrBlacklistNotFound = errors.New("Blacklist not found")

	// ErrEmptyList is returned if a given PID returned an empty list on an operation
	ErrEmptyList = errors.New("List is empty")
)
View Source
var Postgres *sql.DB

Functions

func ConnectPostgres

func ConnectPostgres()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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