sg0hsmt / random

Package random is generics based random choice utility. Similar of Python's standard package.

Repository from Github https://github.comsg0hsmt/randomRepository from Github https://github.comsg0hsmt/random

Random

Go Reference Test TinyGo Go Report Card License Release

Package random is generics based random choice utility. Similar of Python's standard package.

Note: This was created to help me learn about generics.

Requirements

Go 1.18 or later

Usage

See example test code.

Test

go test .

You can use GitHub Actions locally by act.

act -j test

About

Package random is generics based random choice utility. Similar of Python's standard package.

License:MIT License


Languages

Language:Go 100.0%