9 lines
130 B
Go
9 lines
130 B
Go
// +build go1.13
|
|
|
|
package gorm
|
|
|
|
import "errors"
|
|
|
|
// use go1.13 errors.Is to check is err is target error.
|
|
var isError = errors.Is
|