https://github.com/nuid/sdk-go
SDK go package for interacting with NuID APIs
https://github.com/nuid/sdk-go
Last synced: 3 months ago
JSON representation
SDK go package for interacting with NuID APIs
- Host: GitHub
- URL: https://github.com/nuid/sdk-go
- Owner: NuID
- License: mit
- Created: 2021-02-08T20:32:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-17T15:53:59.000Z (almost 5 years ago)
- Last Synced: 2025-04-15T23:09:47.942Z (9 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# NuID SDK for Go
[](https://github.com/NuID/sdk-go)
[](https://pkg.go.dev/github.com/NuID/sdk-go/api/auth)
[](https://portal.nuid.io/docs)
This repo provides a library for interacting with NuID APIs within go
applications.
Read the latest [package docs](https://pkg.go.dev/github.com/NuID/sdk-go/api/auth) or
checkout the [platform docs](https://portal.nuid.io/docs) for API docs, guides,
video tutorials, and more.
## Install
```sh
GO111MODULE=on go get github.com/NuID/sdk-go
```
## Usage
A fully working go server example can be found in our [examples
repo](https://github.com/NuID/examples/tree/main/go).
Visit the [Integrating with
NuID guide](https://portal.nuid.io/docs/guides/integrating-with-nuid) for a
detailed walk-through on your first NuID integration.
## 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](https://opensource.org/licenses/MIT).