-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes generated models_test.go from importing old packr #17
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some fixes!
P.S. share your ideas, feedbacks or issues with us at https://github.com/fixmie/feedback (this message will be removed after the beta stage).
|
||
import "fmt" | ||
|
||
// go2 errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
existing comment doesn't match identifier "Wrapper"
// go2 errors | |
// Wrapper errors |
Unwrap() error | ||
} | ||
|
||
// pkg/errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
existing comment doesn't match identifier "Causer"
// pkg/errors | |
// Causer ... |
Cause() error | ||
} | ||
|
||
func Unwrap(err error) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported identifier "Unwrap" should have comment
func Unwrap(err error) error { | |
// Unwrap ... | |
func Unwrap(err error) error { |
return err | ||
} | ||
|
||
var Cause = Unwrap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported identifier "Cause" should have comment
var Cause = Unwrap | |
// Cause ... | |
var Cause = Unwrap |
|
||
var Cause = Unwrap | ||
|
||
func Wrap(err error, msg string) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported identifier "Wrap" should have comment
func Wrap(err error, msg string) error { | |
// Wrap ... | |
func Wrap(err error, msg string) error { |
No description provided.