From aabb5676362e999bb0f0080f88437faf9c335c63 Mon Sep 17 00:00:00 2001 From: Adriano Caloiaro Date: Fri, 17 Mar 2023 08:58:57 -0700 Subject: [PATCH] remove unused errors --- neoq.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/neoq.go b/neoq.go index 31bc027..e53e8bc 100644 --- a/neoq.go +++ b/neoq.go @@ -2,7 +2,6 @@ package neoq import ( "context" - "errors" "time" "github.com/acaloiaro/neoq/backends/memory" @@ -10,11 +9,6 @@ import ( "github.com/acaloiaro/neoq/types" ) -var ( - ErrConnectionStringRequired = errors.New("a connection string is required for this backend. See [config.WithConnectionString]") - ErrNoBackendSpecified = errors.New("please specify a backend by using [config.WithBackend]") -) - // New creates a new backend instance for job processing. // // By default, neoq initializes [memory.Backend] if New() is called without a backend configuration option.