Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Clean up comments in view.go (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsinclair authored and rghetia committed Jul 13, 2019
1 parent 19a9151 commit b4a1468
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stats/view/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
)

// View allows users to aggregate the recorded stats.Measurements.
// Views need to be passed to the Register function to be before data will be
// Views need to be passed to the Register function before data will be
// collected and sent to Exporters.
type View struct {
Name string // Name of View. Must be unique. If unset, will default to the name of the Measure.
Expand All @@ -43,7 +43,7 @@ type View struct {
// Measure is a stats.Measure to aggregate in this view.
Measure stats.Measure

// Aggregation is the aggregation function tp apply to the set of Measurements.
// Aggregation is the aggregation function to apply to the set of Measurements.
Aggregation *Aggregation
}

Expand Down Expand Up @@ -189,7 +189,7 @@ func (r *Row) String() string {
}

// Equal returns true if both rows are equal. Tags are expected to be ordered
// by the key name. Even both rows have the same tags but the tags appear in
// by the key name. Even if both rows have the same tags but the tags appear in
// different orders it will return false.
func (r *Row) Equal(other *Row) bool {
if r == other {
Expand Down

0 comments on commit b4a1468

Please sign in to comment.