Skip to content

Repository files navigation

DoubleCloud Go SDK

GoDoc

Go SDK for DoubleCloud API.

Installation

go install github.com/doublecloud/go-sdk@latest

Usage examples

Initializing SDK

key, err:=iamkey.ReadFromJSONFile(*flags.saPath)
iferr!=nil {
panic(err)
}
creds, err:=dc.ServiceAccountKey(key)
iferr!=nil {
panic(err)
}
sdk, err:=dc.Build(ctx, dc.Config{
Credentials: creds,
})

More examples

More examples can be found in examples directory.

Releases

Packages

Used by

Contributors

Languages