This is a binding for Random-Y based algorithms.
Do NOT use go mod import this.
For better go.mod experience, like directly import go-randomy dep through go get or go build, check the https://github.com/core-coin/RandomY and https://github.com/core-coin/go-randomy and their GitHub actions.
- random-y
- random-x
- random-xl
- random-wow
- random-arq
- random-yada
- Download and install the msys2, then open and install the following components:
Take msys2's pacman for example
pacman -Syu
pacman -S git mingw64/mingw-w64-x86_64-go mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-make- Clone this repo to your project folder
cd MyProject
git clone https://github.com/core-coin/go-randomy- Run
./build.shto auto compile official random-y code
# clone and compile RandomY source code into librandomy
./build random-y # random-y can be replaced with random-xl random-arq random-wow- You can use the package as your internal one.
Directly using it with import "github.com/MyProject/go-randomy" and then randomy.AllocCache() etc.
- Download the latest go from web and then install it following this instructions.
sudo apt update && sudo apt upgrade
sudo apt install git cmake make gcc build-essential- Clone this repo to your project folder.
cd MyProject
git clone https://github.com/core-coin/go-randomy
- Run
go generateto auto compile official random-y code.
# clone and compile RandomY source code into librandomy
./build random-y # random-y can be replaced with random-xl random-arq random-wow- You can using the package as your internal one.
Directly using it with import "github.com/myname/my-project/go-randomy" and then start the functions like randomy.AllocCache() etc.