mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 21:37:57 +08:00
refactor(errors) debugerror -> errors
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
parent
5fa31f8e6c
commit
cf8fb87df1
@ -16,7 +16,7 @@ import (
|
||||
chunk "github.com/jbenet/go-ipfs/importer/chunk"
|
||||
peer "github.com/jbenet/go-ipfs/peer"
|
||||
u "github.com/jbenet/go-ipfs/util"
|
||||
errors "github.com/jbenet/go-ipfs/util/debugerror"
|
||||
errors "github.com/jbenet/go-ipfs/util/errors"
|
||||
)
|
||||
|
||||
var initCmd = &cmds.Command{
|
||||
|
||||
@ -21,7 +21,7 @@ import (
|
||||
daemon "github.com/jbenet/go-ipfs/daemon2"
|
||||
updates "github.com/jbenet/go-ipfs/updates"
|
||||
u "github.com/jbenet/go-ipfs/util"
|
||||
errors "github.com/jbenet/go-ipfs/util/debugerror"
|
||||
errors "github.com/jbenet/go-ipfs/util/errors"
|
||||
eventlog "github.com/jbenet/go-ipfs/util/eventlog"
|
||||
)
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
u "github.com/jbenet/go-ipfs/util"
|
||||
errors "github.com/jbenet/go-ipfs/util/debugerror"
|
||||
errors "github.com/jbenet/go-ipfs/util/errors"
|
||||
)
|
||||
|
||||
var log = u.Logger("config")
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// package debugerror provides a way to augment errors with additional
|
||||
// package errors provides ways to augment errors with additional
|
||||
// information to allow for easier debugging.
|
||||
package debugerror
|
||||
package errors
|
||||
|
||||
import (
|
||||
"errors"
|
||||
Loading…
Reference in New Issue
Block a user