From 17573930226b623afbfee7b0442c684ef35345b8 Mon Sep 17 00:00:00 2001 From: Muhammad Amir Ejaz <37077032+codingamir@users.noreply.github.com> Date: Fri, 19 May 2023 15:29:04 +0500 Subject: [PATCH] changed the description of ErrForeignKeyViolated --- errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors.go b/errors.go index 786a723e..cd76f1f5 100644 --- a/errors.go +++ b/errors.go @@ -48,5 +48,5 @@ var ( // ErrDuplicatedKey occurs when there is a unique key constraint violation ErrDuplicatedKey = errors.New("duplicated key not allowed") // ErrForeignKeyViolated occurs when there is a foreign key constraint violation - ErrForeignKeyViolated = errors.New("Violates foreign key constraint") + ErrForeignKeyViolated = errors.New("violates foreign key constraint") )