From 1323a431a4ef0ae240cedccf9411be91ff3d52e5 Mon Sep 17 00:00:00 2001 From: Phillip Baker Date: Sat, 7 Mar 2015 14:55:07 -0500 Subject: [PATCH] Update doc links for v2 documentation. --- README.md | 2 +- action.go | 2 +- domains.go | 4 ++-- droplet_actions.go | 2 +- droplets.go | 2 +- image_actions.go | 2 +- images.go | 2 +- keys.go | 2 +- regions.go | 2 +- sizes.go | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index eb78f11..da1ece9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Godo is a Go client library for accessing the DigitalOcean V2 API. You can view the client API docs here: [http://godoc.org/github.com/digitalocean/godo](http://godoc.org/github.com/digitalocean/godo) -You can view Digital Ocean API docs here: [https://developers.digitalocean.com/v2/](https://developers.digitalocean.com/v2/) +You can view Digital Ocean API docs here: [https://developers.digitalocean.com/documentation/v2/](https://developers.digitalocean.com/documentation/v2/) ## Usage diff --git a/action.go b/action.go index ff7298f..6cbdd7d 100644 --- a/action.go +++ b/action.go @@ -13,7 +13,7 @@ const ( ) // ActionsService handles communction with action related methods of the -// DigitalOcean API: https://developers.digitalocean.com/#actions +// DigitalOcean API: https://developers.digitalocean.com/documentation/v2#actions type ActionsService interface { List(*ListOptions) ([]Action, *Response, error) Get(int) (*Action, *Response, error) diff --git a/domains.go b/domains.go index 4ec2433..220358b 100644 --- a/domains.go +++ b/domains.go @@ -5,8 +5,8 @@ import "fmt" const domainsBasePath = "v2/domains" // DomainsService is an interface for managing DNS with the Digital Ocean API. -// See: https://developers.digitalocean.com/#domains and -// https://developers.digitalocean.com/#domain-records +// See: https://developers.digitalocean.com/documentation/v2#domains and +// https://developers.digitalocean.com/documentation/v2#domain-records type DomainsService interface { List(*ListOptions) ([]Domain, *Response, error) Get(string) (*DomainRoot, *Response, error) diff --git a/droplet_actions.go b/droplet_actions.go index 947404f..b95f1c1 100644 --- a/droplet_actions.go +++ b/droplet_actions.go @@ -10,7 +10,7 @@ type ActionRequest map[string]interface{} // DropletActionsService is an interface for interfacing with the droplet actions // endpoints of the Digital Ocean API -// See: https://developers.digitalocean.com/#droplet-actions +// See: https://developers.digitalocean.com/documentation/v2#droplet-actions type DropletActionsService interface { Shutdown(int) (*Action, *Response, error) PowerOff(int) (*Action, *Response, error) diff --git a/droplets.go b/droplets.go index d50235e..0f90492 100644 --- a/droplets.go +++ b/droplets.go @@ -6,7 +6,7 @@ const dropletBasePath = "v2/droplets" // DropletsService is an interface for interfacing with the droplet // endpoints of the Digital Ocean API -// See: https://developers.digitalocean.com/#droplets +// See: https://developers.digitalocean.com/documentation/v2#droplets type DropletsService interface { List(*ListOptions) ([]Droplet, *Response, error) Get(int) (*DropletRoot, *Response, error) diff --git a/image_actions.go b/image_actions.go index c1467d7..0fada7f 100644 --- a/image_actions.go +++ b/image_actions.go @@ -4,7 +4,7 @@ import "fmt" // ImageActionsService is an interface for interfacing with the image actions // endpoints of the Digital Ocean API -// See: https://developers.digitalocean.com/#image-actions +// See: https://developers.digitalocean.com/documentation/v2#image-actions type ImageActionsService interface { Get(int, int) (*Action, *Response, error) Transfer(int, *ActionRequest) (*Action, *Response, error) diff --git a/images.go b/images.go index 07ec274..9b8844e 100644 --- a/images.go +++ b/images.go @@ -2,7 +2,7 @@ package godo // ImagesService is an interface for interfacing with the images // endpoints of the Digital Ocean API -// See: https://developers.digitalocean.com/#images +// See: https://developers.digitalocean.com/documentation/v2#images type ImagesService interface { List(*ListOptions) ([]Image, *Response, error) } diff --git a/keys.go b/keys.go index 1945aa1..9c01d79 100644 --- a/keys.go +++ b/keys.go @@ -6,7 +6,7 @@ const keysBasePath = "v2/account/keys" // KeysService is an interface for interfacing with the keys // endpoints of the Digital Ocean API -// See: https://developers.digitalocean.com/#keys +// See: https://developers.digitalocean.com/documentation/v2#keys type KeysService interface { List(*ListOptions) ([]Key, *Response, error) GetByID(int) (*Key, *Response, error) diff --git a/regions.go b/regions.go index 5ab91b5..2e9c14b 100644 --- a/regions.go +++ b/regions.go @@ -2,7 +2,7 @@ package godo // RegionsService is an interface for interfacing with the regions // endpoints of the Digital Ocean API -// See: https://developers.digitalocean.com/#regions +// See: https://developers.digitalocean.com/documentation/v2#regions type RegionsService interface { List(*ListOptions) ([]Region, *Response, error) } diff --git a/sizes.go b/sizes.go index 108b962..ca4dba4 100644 --- a/sizes.go +++ b/sizes.go @@ -2,7 +2,7 @@ package godo // SizesService is an interface for interfacing with the size // endpoints of the Digital Ocean API -// See: https://developers.digitalocean.com/#sizes +// See: https://developers.digitalocean.com/documentation/v2#sizes type SizesService interface { List(*ListOptions) ([]Size, *Response, error) }