scaleway is a Go client library for accessing the Scaleway API.
This library is written only with the Go standard library, no package dependencies.
go get github.com/breakbit/scaleway
Construct a new Scaleway client, then use the various services on the client to access differents parts of the Scaleway API. For example:
// Create a client client := scaleway.NewClient(nil) // Create credentials structure credentials := scaleway.NewCredentials("firstname.lastname@example.org", "foobar") // Create new token token, _, _ := client.Tokens.Create(credentials, true) // Use this token client.AuthToken = token.ID