From d7ee8c94887e7ca7282fc1dec89b13058c090255 Mon Sep 17 00:00:00 2001 From: Marcos Huck Date: Tue, 9 May 2023 20:19:13 -0300 Subject: [PATCH] Add docs to ErrInvalidDialect Signed-off-by: Marcos Huck --- database/db.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/db.go b/database/db.go index 2607afc..925f880 100644 --- a/database/db.go +++ b/database/db.go @@ -11,6 +11,8 @@ import ( ) var ( + // ErrInvalidDialect is returned when an invalid or unsupported dialect is provided when setting up a database + // connection. ErrInvalidDialect = errors.New("an invalid or unsupported dialect was provided") )