Documentation ¶
Index ¶
Constants ¶
View Source
const RetryBackoff = 250 * time.Millisecond
Variables ¶
View Source
var ( ErrNoRows = Errorf("pg: no rows in result set") ErrMultiRows = Errorf("pg: multiple rows in result set") )
View Source
var ( Logger *log.Logger QueryLogger *log.Logger )
Functions ¶
func BytesToString ¶
func StringToBytes ¶
Types ¶
type PGError ¶
type PGError struct {
// contains filtered or unexported fields
}
func NewPGError ¶
func (PGError) IntegrityViolation ¶
Click to show internal directories.
Click to hide internal directories.