Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 508ba17

Browse files
fix staticcheck
1 parent f4952d1 commit 508ba17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: util.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ const DefaultIpfsHash = mh.SHA2_256
2323
var Debug bool
2424

2525
// ErrNotImplemented signifies a function has not been implemented yet.
26-
var ErrNotImplemented = errors.New("Error: not implemented yet.")
26+
var ErrNotImplemented = errors.New("error: not implemented yet")
2727

2828
// ErrTimeout implies that a timeout has been triggered
29-
var ErrTimeout = errors.New("Error: Call timed out.")
29+
var ErrTimeout = errors.New("error: call timed out")
3030

31-
// ErrSearchIncomplete implies that a search type operation didnt
31+
// ErrSearchIncomplete implies that a search type operation didn't
3232
// find the expected node, but did find 'a' node.
33-
var ErrSearchIncomplete = errors.New("Error: Search Incomplete.")
33+
var ErrSearchIncomplete = errors.New("error: search incomplete")
3434

3535
// ErrCast is returned when a cast fails AND the program should not panic.
3636
func ErrCast() error {

0 commit comments

Comments
 (0)