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

postgres

package module
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLockError added in v0.1.13

func IsLockError(err error) bool

IsLockError checks if the error is a lock error

func IsUniqueConstraintError added in v0.1.13

func IsUniqueConstraintError(err error) bool

IsUniqueConstraintError checks if the error is a unique constraint error

func NewConnection

func NewConnection(dbConfigFilePath string) (*gorm.DB, error)

NewConnection : create new db instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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