github.com/go-pg/pg/v10/internal.PGError.IntegrityViolation (method, view implemented interface methods)
3 uses
github.com/go-pg/pg/v10/internal (current package)
error.go#L38: func (err PGError) IntegrityViolation() bool {
github.com/go-pg/pg/v10/orm
count_estimate.go#L74: if !ok || !pgerr.IntegrityViolation() {
query.go#L1093: if pgErr.IntegrityViolation() {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)