pq

package
v0.0.0-...-1a16d00 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckUniqueConstraint = CheckErrors("unique_violation")
View Source
var SkipUniqueConstraint = IgnoreErrors("unique_violation")

Functions

func CheckErrors

func CheckErrors(names ...string) func(error) bool

func IgnoreErrors

func IgnoreErrors(names ...string) func(error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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