-
Notifications
You must be signed in to change notification settings - Fork 4
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
Signup API #47
Signup API #47
Conversation
Codecov Report
@@ Coverage Diff @@
## master #47 +/- ##
==========================================
+ Coverage 58.62% 67.64% +9.02%
==========================================
Files 3 5 +2
Lines 29 68 +39
==========================================
+ Hits 17 46 +29
- Misses 9 17 +8
- Partials 3 5 +2
Continue to review full report at Codecov.
|
var ValidationErrors = []string{} | ||
|
||
//HandleErr //generic error handler, logs error and Os.Exit(1) | ||
func HandleErr(c *gin.Context, 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.
@adefemi171 How do you plan to use the Err handler?
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.
Was going to use it for db errors, but will remove it from the code
Added error response code and message changed user_test package name
close #10
close #8
@simplytunde @AminuIsrael