package
0.3.0
Repository: https://github.com/hack-31/point-app-backend.git
Documentation: pkg.go.dev

# Functions

DeleteUserByEmail retrieves a row from 'point_app.delete_users' as a [DeleteUser].
DeleteUserByID retrieves a row from 'point_app.delete_users' as a [DeleteUser].
Errorf logs an error message using the package error logger.
Logf logs a message using the package logger.
NotificationByID retrieves a row from 'point_app.notifications' as a [Notification].
NotificationsByNotificationTypeID retrieves a row from 'point_app.notifications' as a [Notification].
NotificationsByToUserIDID retrieves a row from 'point_app.notifications' as a [Notification].
NotificationTypeByID retrieves a row from 'point_app.notification_types' as a [NotificationType].
SetErrorLogger sets the package error logger.
SetLogger sets the package logger.
TransactionByID retrieves a row from 'point_app.transactions' as a [Transaction].
UserByEmail retrieves a row from 'point_app.users' as a [User].
UserByID retrieves a row from 'point_app.users' as a [User].

# Constants

ErrAlreadyExists is the already exists error.
ErrDoesNotExist is the does not exist error.
ErrMarkedForDeletion is the marked for deletion error.

# Structs

DeleteUser represents a row from 'point_app.delete_users'.
ErrInsertFailed is the insert failed error.
ErrUpdateFailed is the update failed error.
ErrUpsertFailed is the upsert failed error.
Notification represents a row from 'point_app.notifications'.
NotificationType represents a row from 'point_app.notification_types'.
Transaction represents a row from 'point_app.transactions'.
User represents a row from 'point_app.users'.

# Interfaces

DB is the common interface for database operations that can be used with types from schema 'point_app'.

# Type aliases

Error is an error.