-
Notifications
You must be signed in to change notification settings - Fork 0
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
Iter13 #16
Iter13 #16
Conversation
+ доп вопросы + немного комментариев
) | ||
|
||
var ( | ||
ErrServerInternal = errors.New("InternalError") // Ошибка на сервере |
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.
Классно что создал ошибки
} | ||
|
||
if err := mc.storage.SetMetrics(ctx, gaugeList); err != nil { | ||
return err |
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.
Можешь еще оборачивать ошибки через fmt.Errorf, чтобы было понятно где она возникла
} | ||
} | ||
|
||
var nameRegexp = regexp.MustCompile("^[a-zA-Z][a-zA-Z0-9_]*$") |
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.
Отлично что скомпилировал заранее
No description provided.