mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-27 12:02:14 -05:00
31 lines
577 B
Markdown
31 lines
577 B
Markdown
# Yandex.Cloud Go SDK
|
|
|
|
[](https://godoc.org/github.com/yandex-cloud/go-sdk)
|
|
|
|
Go SDK for Yandex.Cloud services.
|
|
|
|
**NOTE:** SDK is under development, and may make
|
|
backwards-incompatible changes.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
go get github.com/yandex-cloud/go-sdk
|
|
```
|
|
|
|
## Example usages
|
|
|
|
### Initializing SDK
|
|
|
|
```go
|
|
sdk, err := ycsdk.Build(ctx, ycsdk.Config{
|
|
Credentials: ycsdk.OAuthToken(token),
|
|
})
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
```
|
|
|
|
### More examples
|
|
|
|
More examples can be found in [examples dir](examples).
|