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.
GO111MODULE=on go get github.com/NuID/sdk-go
A fully working go server example can be found in our examples repo.
Visit the Integrating with NuID guide for a detailed walk-through on your first NuID integration.
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.
Bug reports and pull requests are welcome on GitHub at https://github.com/NuID/sdk-go.
The library is available as open source under the terms of the MIT License.