package
0.0.0-20240829064013-d047873ad117
Repository: https://github.com/dynastymasra/go-library.git
Documentation: pkg.go.dev

# Functions

IsForeignKeyViolation checks if the provided error is a foreign key violation error in PostgresSQL.
IsInvalidTextRepresentation checks if the provided error is an invalid text representation error in PostgresSQL.
IsNotNullViolation checks if the provided error is a not null violation error in PostgresSQL.
IsUniqueViolation checks if the provided error is a unique violation error in PostgresSQL.

# Structs

Config is a struct that holds the configuration for the database connection.