diff options
| author | Jeff Carr <[email protected]> | 2023-12-31 02:50:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-31 02:50:20 -0600 |
| commit | d2f0691744ff677a3d044cad72c1c35d32f85d92 (patch) | |
| tree | 17d7c6e9b5dd16bc76b8c9ad62bcd0c2045ad1cb /examples/control-panel-digitalocean/main.go | |
| parent | 44730e1b91d0aa9d412032aebe2fc0c8367ddf13 (diff) | |
create takes a name. delete() droplet works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'examples/control-panel-digitalocean/main.go')
| -rw-r--r-- | examples/control-panel-digitalocean/main.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/control-panel-digitalocean/main.go b/examples/control-panel-digitalocean/main.go index 28455f3..6506842 100644 --- a/examples/control-panel-digitalocean/main.go +++ b/examples/control-panel-digitalocean/main.go @@ -54,5 +54,11 @@ func cloudApp(n *gui.Node) *gui.Node { }) grid.NewLabel("polls DO via the API to find the state of all your droplets") + grid.NewButton("Create", func () { + // myDo.Create("jcarr.wit.com") + digitalocean.InitCreateWindow() + }) + grid.NewLabel("makes a new droplet") + return win } |
