add count to example
Blake Mizerany
11 years ago
38 | 38 |
fmt.Println("perc99:", q.Query(0.99))
|
39 | 39 |
fmt.Println("min:", q.Min())
|
40 | 40 |
fmt.Println("max:", q.Max())
|
|
41 |
fmt.Println("count:", q.Count())
|
41 | 42 |
// Output:
|
42 | 43 |
// perc50: 5
|
43 | 44 |
// perc90: 14
|
44 | 45 |
// perc99: 40
|
45 | 46 |
// min: 1
|
46 | 47 |
// max: 1545
|
|
48 |
// count: 2388
|
47 | 49 |
}
|