mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-03 13:00:37 +08:00
refactor(errors) debugerror -> errors
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
@ -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"
|
Reference in New Issue
Block a user