Skip to content

domluna/dogo

Repository files navigation

dogo Build StatusCoverage StatusGoDoc

Overview

This project is NOT MAINTAINED. I'd recommend using DigitalOcean's official API instead.

DigitalOcean Go Client V2 API.

Getting Started

Installing

$ go get github.com/domluna/dogo

Example

package main

import (
	"github.com/domluna/dogo"
)

func main() {

  // If the token is the empty string("") then it'll attempt
  // to fill the value under env var $DIGITALOCEAN_TOKEN
	client := dogo.NewClient("") // $DIGITALOCEAN_TOKEN

	// get all droplets
	droplets, err := client.ListDroplets()
	if err != nil {
		// deal with error
	}
	// do stuff with droplets
}

About

NOT MAINTANED: DigitalOcean Go API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages