Help us shape the future of Go! Take the 2026 Go Developer Survey

postgres

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package postgres provides PostgreSQL-specific DB error mapping. It translates pgx and pgconn errors into core/errors.AppError with domain-appropriate error codes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapDBError

func MapDBError(err error) error

MapDBError maps PostgreSQL errors to core domain errors. Returns nil if the input error is nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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