Codebase list golang-github-beorn7-perks / 58a7a71
add count to example Blake Mizerany 11 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3838 fmt.Println("perc99:", q.Query(0.99))
3939 fmt.Println("min:", q.Min())
4040 fmt.Println("max:", q.Max())
41 fmt.Println("count:", q.Count())
4142 // Output:
4243 // perc50: 5
4344 // perc90: 14
4445 // perc99: 40
4546 // min: 1
4647 // max: 1545
48 // count: 2388
4749 }