golibs
Golang libraries I use across my Go projects (by qdm12)
weightedrandom
A Go library for efficient weighted random picking (by minaguib)
golibs | weightedrandom | |
---|---|---|
1 | 1 | |
10 | 9 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | about 2 years ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
golibs
Posts with mentions or reviews of golibs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-20.
-
Fastest way to pick uniformly from a slice from multiple goroutines
Using this implementation.
weightedrandom
Posts with mentions or reviews of weightedrandom.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-20.
-
Fastest way to pick uniformly from a slice from multiple goroutines
If you ever need random picking with weights, consider the weightedrandom package I authored.
What are some alternatives?
When comparing golibs and weightedrandom you can also consider the following projects:
faker - Random fake data and struct generator for Go.