Skip to content

Commit 7fea3f0

Browse files
committed
Fixed an example
1 parent 2318ed9 commit 7fea3f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func Example() {
4747
// Cloning a Client allows using different parameters while still using the
4848
// same connection.
4949
// This is way cheaper and more efficient than using New().
50-
stat := c.Clone(statsd.Prefix("http"), SampleRate(0.2))
50+
stat := c.Clone(statsd.Prefix("http"), statsd.SampleRate(0.2))
5151
stat.Increment("view") // Increments http.view
5252
}
5353

0 commit comments

Comments
 (0)