Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uberswe/randompick
A simple function which takes a map of weighted options and picks one at random. This might be useful for a lottery or raffle where participants might have multiple tickets.
https://github.com/uberswe/randompick
random-pick random-pick-with-weight
Last synced: about 2 months ago
JSON representation
A simple function which takes a map of weighted options and picks one at random. This might be useful for a lottery or raffle where participants might have multiple tickets.
- Host: GitHub
- URL: https://github.com/uberswe/randompick
- Owner: uberswe
- License: mit
- Created: 2022-07-26T11:30:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T11:32:03.000Z (over 2 years ago)
- Last Synced: 2024-05-02T01:06:46.867Z (8 months ago)
- Topics: random-pick, random-pick-with-weight
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0