Permalink
Browse files

add useless error

  • Loading branch information...
komuw committed Jul 19, 2018
1 parent 816c908 commit 0c8091c60870f222b0642edb0893361b0185aedf
Showing with 2 additions and 0 deletions.
  1. +1 −0 errors.go
  2. +1 −0 go.mod
@@ -99,6 +99,7 @@ import (
// New returns an error with the supplied message.
// New also records the stack trace at the point it was called.
func New(message string) error {
fmt.Println("\n\t hello new called.")
return &fundamental{
msg: message,
stack: callers(),
1 go.mod

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 0c8091c

Please sign in to comment.