Files
dependabot[bot]andGitHub affa4ea67f build(deps): bump golang.org/x/crypto in /examples/go
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-04 23:50:53 +00:00
..

golang client example

go generate
go run main.go

This example uses https://github.com/oapi-codegen/oapi-codegen to generate a golang client from the spec. There may be other generators out there that you prefer to use.

The example starts an instance of zerotier-one in a docker container and then queries it with the generated client.