Skip to content

Commit

Permalink
remove unused errors
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Mar 17, 2023
1 parent 07a336a commit aabb567
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions neoq.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,13 @@ package neoq

import (
"context"
"errors"
"time"

"github.com/acaloiaro/neoq/backends/memory"
"github.com/acaloiaro/neoq/config"
"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.
Expand Down

0 comments on commit aabb567

Please sign in to comment.