new errors.go

This commit is contained in:
Alex Grintsvayg 2018-02-22 13:48:46 -05:00
parent 3e2db84d2a
commit 32a27c4e4d
11 changed files with 11 additions and 11 deletions

View file

@ -1,7 +1,7 @@
package cluster package cluster
import ( import (
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
"github.com/hashicorp/serf/serf" "github.com/hashicorp/serf/serf"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"

View file

@ -5,7 +5,7 @@ import (
"github.com/lbryio/reflector.go/types" "github.com/lbryio/reflector.go/types"
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
qtools "github.com/lbryio/query.go" qtools "github.com/lbryio/query.go"
_ "github.com/go-sql-driver/mysql" _ "github.com/go-sql-driver/mysql"

View file

@ -1,6 +1,6 @@
package peer package peer
import "github.com/lbryio/errors.go" import "github.com/lbryio/lbry.go/errors"
const maxRequestSize = 64 * (2 ^ 10) // 64kb const maxRequestSize = 64 * (2 ^ 10) // 64kb

View file

@ -5,7 +5,7 @@ import (
"net" "net"
"strconv" "strconv"
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View file

@ -9,7 +9,7 @@ import (
"github.com/lbryio/reflector.go/store" "github.com/lbryio/reflector.go/store"
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )

View file

@ -4,7 +4,7 @@ import (
"crypto/sha512" "crypto/sha512"
"encoding/hex" "encoding/hex"
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
) )
const ( const (

View file

@ -5,7 +5,7 @@ import (
"os" "os"
"path" "path"
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
) )
type FileBlobStore struct { type FileBlobStore struct {

View file

@ -1,6 +1,6 @@
package store package store
import "github.com/lbryio/errors.go" import "github.com/lbryio/lbry.go/errors"
type MemoryBlobStore struct { type MemoryBlobStore struct {
blobs map[string][]byte blobs map[string][]byte

View file

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
) )
func TestMemoryBlobStore_Put(t *testing.T) { func TestMemoryBlobStore_Put(t *testing.T) {

View file

@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/lbryio/errors.go" "github.com/lbryio/lbry.go/errors"
"github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/awserr"

View file

@ -1,6 +1,6 @@
package store package store
import "github.com/lbryio/errors.go" import "github.com/lbryio/lbry.go/errors"
type BlobStore interface { type BlobStore interface {
Has(string) (bool, error) Has(string) (bool, error)