mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-03 21:08:17 +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"
|
chunk "github.com/jbenet/go-ipfs/importer/chunk"
|
||||||
peer "github.com/jbenet/go-ipfs/peer"
|
peer "github.com/jbenet/go-ipfs/peer"
|
||||||
u "github.com/jbenet/go-ipfs/util"
|
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{
|
var initCmd = &cmds.Command{
|
||||||
|
@ -21,7 +21,7 @@ import (
|
|||||||
daemon "github.com/jbenet/go-ipfs/daemon2"
|
daemon "github.com/jbenet/go-ipfs/daemon2"
|
||||||
updates "github.com/jbenet/go-ipfs/updates"
|
updates "github.com/jbenet/go-ipfs/updates"
|
||||||
u "github.com/jbenet/go-ipfs/util"
|
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"
|
eventlog "github.com/jbenet/go-ipfs/util/eventlog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
u "github.com/jbenet/go-ipfs/util"
|
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")
|
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.
|
// information to allow for easier debugging.
|
||||||
package debugerror
|
package errors
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
Reference in New Issue
Block a user