Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
cf8fb87d
Commit
cf8fb87d
authored
Nov 16, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(errors) debugerror -> errors
License: MIT Signed-off-by:
Brian Tiger Chow
<
brian@perfmode.com
>
parent
5fa31f8e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
cmd/ipfs2/init.go
cmd/ipfs2/init.go
+1
-1
cmd/ipfs2/main.go
cmd/ipfs2/main.go
+1
-1
config/config.go
config/config.go
+1
-1
util/errors/debug.go
util/errors/debug.go
+2
-2
No files found.
cmd/ipfs2/init.go
View file @
cf8fb87d
...
...
@@ -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/
debug
error"
errors
"github.com/jbenet/go-ipfs/util/error
s
"
)
var
initCmd
=
&
cmds
.
Command
{
...
...
cmd/ipfs2/main.go
View file @
cf8fb87d
...
...
@@ -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/
debug
error"
errors
"github.com/jbenet/go-ipfs/util/error
s
"
eventlog
"github.com/jbenet/go-ipfs/util/eventlog"
)
...
...
config/config.go
View file @
cf8fb87d
...
...
@@ -9,7 +9,7 @@ import (
"path/filepath"
u
"github.com/jbenet/go-ipfs/util"
errors
"github.com/jbenet/go-ipfs/util/
debug
error"
errors
"github.com/jbenet/go-ipfs/util/error
s
"
)
var
log
=
u
.
Logger
(
"config"
)
...
...
util/
debug
error/debug
error
.go
→
util/error
s
/debug.go
View file @
cf8fb87d
// package
debug
error provides
a
way to augment errors with additional
// package error
s
provides way
s
to augment errors with additional
// information to allow for easier debugging.
package
debug
error
package
error
s
import
(
"errors"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment