Skip to content

Commit

Permalink
typo correction godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
wazazaby committed Oct 8, 2023
1 parent b744fe9 commit 5aa1db3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vimebu.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (b *Builder) Metric(name string) *Builder {

// LabelQuote appends a pair of label name and label value to the Builder. Quotes inside the label value will be escaped.
//
// Panics if the label name or label value contains more than [vimebu.LabelNameMaxLen] or [vimebu.LabelValueMaxLen] bytes respectively.
// Panics if the label name or label value contain more than [vimebu.LabelNameMaxLen] or [vimebu.LabelValueMaxLen] bytes respectively.
//
// NoOp if the label name or label value are empty.
func (b *Builder) LabelQuote(name, value string) *Builder {
Expand All @@ -72,7 +72,7 @@ func (b *Builder) LabelQuote(name, value string) *Builder {
// Unlike [vimebu.Builder.LabelQuote], quotes inside the label value will not be escaped.
// It's better suited for a label value where you control the input (either it is already sanitized, or it comes from a const or an enum for example).
//
// Panics if the label name or label value contains more than [vimebu.LabelNameMaxLen] or [vimebu.LabelValueMaxLen] bytes respectively.
// Panics if the label name or label value contain more than [vimebu.LabelNameMaxLen] or [vimebu.LabelValueMaxLen] bytes respectively.
//
// NoOp if the label name or label value are empty.
func (b *Builder) Label(name, value string) *Builder {
Expand Down

0 comments on commit 5aa1db3

Please sign in to comment.