This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import (
3030)
3131
3232// View allows users to aggregate the recorded stats.Measurements.
33- // Views need to be passed to the Register function to be before data will be
33+ // Views need to be passed to the Register function before data will be
3434// collected and sent to Exporters.
3535type View struct {
3636 Name string // Name of View. Must be unique. If unset, will default to the name of the Measure.
@@ -43,7 +43,7 @@ type View struct {
4343 // Measure is a stats.Measure to aggregate in this view.
4444 Measure stats.Measure
4545
46- // Aggregation is the aggregation function tp apply to the set of Measurements.
46+ // Aggregation is the aggregation function to apply to the set of Measurements.
4747 Aggregation * Aggregation
4848}
4949
@@ -189,7 +189,7 @@ func (r *Row) String() string {
189189}
190190
191191// Equal returns true if both rows are equal. Tags are expected to be ordered
192- // by the key name. Even both rows have the same tags but the tags appear in
192+ // by the key name. Even if both rows have the same tags but the tags appear in
193193// different orders it will return false.
194194func (r * Row ) Equal (other * Row ) bool {
195195 if r == other {
You can’t perform that action at this time.
0 commit comments