Minor fixes

This commit is contained in:
Ken Hibino
2021-05-09 19:20:54 -07:00
parent d98ecdebb4
commit 8117ce8972
3 changed files with 3 additions and 11 deletions

View File

@@ -7,7 +7,6 @@ package base
import (
"context"
"errors"
"fmt"
"sync"
"time"
@@ -590,10 +589,3 @@ type Broker interface {
PublishCancelation(id string) error
Close() error
}
// List of canonical errors.
var (
ErrNotFound = errors.New("not found")
ErrFailedPrecondition = errors.New("failed precondition")
ErrInternal = errors.New("internal error")
)