Skip to content

Commit

Permalink
gofmt pass
Browse files Browse the repository at this point in the history
  • Loading branch information
mihasya committed Jul 12, 2015
1 parent a56a530 commit 1e6be82
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ewma.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (NilEWMA) Update(n int64) {}
// of uncounted events and processes them on each tick. It uses the
// sync/atomic package to manage uncounted events.
type StandardEWMA struct {
uncounted int64 // /!\ this should be the first member to ensure 64-bit alignment
uncounted int64 // /!\ this should be the first member to ensure 64-bit alignment
alpha float64
rate float64
init bool
Expand Down
2 changes: 1 addition & 1 deletion graphite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ func ExampleGraphiteWithConfig() {
Registry: DefaultRegistry,
FlushInterval: 1 * time.Second,
DurationUnit: time.Millisecond,
Percentiles: []float64{ 0.5, 0.75, 0.99, 0.999 },
Percentiles: []float64{0.5, 0.75, 0.99, 0.999},
})
}
1 change: 0 additions & 1 deletion opentsdb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ func ExampleOpenTSDBWithConfig() {
DurationUnit: time.Millisecond,
})
}

0 comments on commit 1e6be82

Please sign in to comment.