Commit Graph

23 Commits

Author SHA1 Message Date
Ben Tranter e1575cffe0
Expand documentation for NewClient
Also adds a reference to the godoc for the (now old) NewClient method.
2020-03-16 11:30:42 -04:00
Ben Tranter d3c5fa5e6c
Prefix package name to example
Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
2020-03-16 10:58:07 -04:00
Ben Tranter d208c5132e
Update README to use NewFromToken 2020-02-28 11:36:05 -05:00
Max Schmitt 7a9afd320e docs: added GoDoc badge 2019-08-19 22:12:29 +02:00
Andrei Avram dad83fac58 Introduce Go modules. 2019-04-20 22:01:09 +03:00
Thomas 98504c2536 Fix Example in README.md (#168)
* Fix Example in README.md

* Fix spacing in README.md - spaces vs tabs
2018-05-10 09:01:21 -04:00
Dan Vittegleo e397cefc79
Update create droplet example to use latest instance type 2018-01-19 11:42:11 -08:00
Marko Mudrinić 46fafcf9d2
docs: replace first example with fully-runnable example 2017-10-30 20:42:11 +01:00
Jackson Owens 83030a1ac0 Use context.Background over oauth2.NoContext
The oauth2.NoContext variable was deprecated in
golang/oauth2@c10ba270aa.
2017-05-04 00:46:34 -04:00
Andrew Starr-Bochicchio 65af7278c0 Update README with context.Context usage. (#127)
* Update README with context.Context usage.

* s/Background/TODO/
2017-02-23 20:41:35 -05:00
bryanl 32ac48f00c It's DigitalOcean 2015-09-18 09:10:59 -04:00
Phillip Baker 80e737c091 Update to oauth2 example. 2015-05-22 21:01:35 -04:00
Matthew Gallagher a033ea36ac Added godo to DropletCreateImage in create example 2015-03-23 19:42:38 -04:00
Phillip Baker f1ccbcd46f Add image/ssh key structs for explicit type on droplet create.
Closes #22
2015-03-21 14:52:14 -04:00
Phillip Baker 4df5360667 Add docs for contributing, versioning and docs. 2015-03-12 12:18:48 -04:00
Phillip Baker 1323a431a4 Update doc links for v2 documentation. 2015-03-07 15:47:46 -05:00
Oliver a10c619ca9 fix pagination example 2015-02-20 18:57:30 -05:00
Ben Evans 9f551386c8 Remove the oddly placed + from README 2015-01-25 17:58:22 +00:00
bryanl e92ece3d59 adding travis status 2015-01-23 09:59:17 -05:00
Ben Firshman a7066ece1f Fix example in readme
- client.Droplet doesn't exist
- Image takes a string, not an int
- Ubuntu image ID seems to have changed
2014-09-22 13:19:48 -07:00
bryanl 96accbf5e9 Update to current API spec
* Allow requesting pages in lists by number
* Add tooling to allow examination of page links if they exist
* Add domain management CRUD
2014-09-08 20:36:11 -04:00
Adam Duke c8ee708db0 fix a small spelling mistake in the README 2014-09-04 10:15:45 -04:00
bryanl b4bec8f557 initial commit 2014-09-03 10:20:10 -04:00