This repository is no longer updated (manually or automatically)! Please use the supported Intersight Go SDK in the Cisco DevNet repository.
This is a Go module that contains the Intersight SDK.
This module is generated automatically (using the OpenAPITools OpenAPI Generator) from the Intersight OpenAPI specification and updated automatically whenever there is a new version of the specification available.
With each new specification release, a new tag is created in this repository for the SDK, for example. v1.0.9-4870
.
To add the SDK to your go.mod
file, use:
go get github.com/cgascoig/intersight-go-sdk/intersight@v1.0.9-4870
Then in your code:
...
import "github.com/cgascoig/intersight-go-sdk/intersight"
func main() {
config := intersight.NewConfiguration()
client := intersight.NewAPIClient(config)
...
You can find a simple example using this module in the intersight-go-example repository.