Registry / cloud / linode-linodego

linode-linodego

JSON →
library1.69.1gogounverified

A Go client for the Linode API v4.

go get github.com/linode/linodego
INSTALL
IMPORT
SIG · LINODE-LINODEGO
L
linode-linodego
cloudgov1.69.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

linodego
github.com/linode/linodego

Lists Linode instances using the API client.

package main import ( "context" "fmt" "github.com/linode/linodego" "golang.org/x/oauth2" ) func main() { tokenSource := oauth2.StaticTokenSource(&oauth2.Token{AccessToken: "YOUR_TOKEN"}) client := linodego.NewClient(oauth2.NewClient(context.Background(), tokenSource)) instances, err := client.ListInstances(context.Background(), nil) if err != nil { panic(err) } fmt.Printf("Instances: %+v\n", instances) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.69.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources