Skip to content
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

Merged
merged 50 commits into from
Mar 20, 2024
Merged

Iter13 #16

merged 50 commits into from
Mar 20, 2024

Conversation

StasMerzlyakov
Copy link
Owner

No description provided.

)

var (
ErrServerInternal = errors.New("InternalError") // Ошибка на сервере

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

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_]*$")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отлично что скомпилировал заранее

@StasMerzlyakov StasMerzlyakov merged commit 88e562a into main Mar 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants