NuID SDK for Go
This repo provides a library for interacting with NuID APIs within go
applications.
Read the latest package
docs or
checkout the platform docs for API docs, guides,
video tutorials, and more.
Install
GO111MODULE=on go get github.com/NuID/sdk-go
Usage (TODO)
For a more detailed example visit the Integrating with
NuID guide and the
accompanying examples repo.
A runnable go example is coming soon.
Development
You'll want to download docker to run the tests, as we depend on the
@nuid/cli
npm package to provide a CLI you can shell out to
in the tests for generating zk crypto. After checking out the repo, run
make build run
to install dependencies and create the docker environment.
Then, run make test
to run the tests inside the running container. You can
also run make shell
to get a prompt in the container.
make clean
will stop and destroy the container and image. make build run
will rebuild the image and run the container.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/NuID/sdk-go.
License
The library is available as open source under the terms of the MIT License.