command
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Mar 25, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package main demonstrates basic usage of the snyk-api library.
This example shows how to:
- Create a client
- List organizations
- List projects in an organization
Prerequisites:
- Set SNYK_TOKEN environment variable
Run:
go run examples/basic/main.go
Source Files
¶
Click to show internal directories.
Click to hide internal directories.