summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 09:50:52 -0600
committerJeff Carr <[email protected]>2025-02-07 09:50:52 -0600
commit71163d28e9c51c6666489489256b43c41453d8c6 (patch)
tree7e58b5aab49f55ca19135ce4f836240e8673b1c1 /main.go
parent747956547b9f78c1c11d7ed2d88d76edd2732bff (diff)
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.go b/main.go
index f35d065..96208a6 100644
--- a/main.go
+++ b/main.go
@@ -4,10 +4,10 @@ import (
"os"
"time"
- "go.wit.com/log"
"go.wit.com/gui"
"go.wit.com/lib/debugger"
"go.wit.com/lib/gui/digitalocean"
+ "go.wit.com/log"
)
var title string = "Droplet Control Panel"
@@ -41,7 +41,7 @@ func cloudApp(n *gui.Node) *gui.Node {
box := win.Box()
grid := box.NewGrid("grid", 2, 1).Pad()
- grid.NewButton("Show Droplets", func () {
+ grid.NewButton("Show Droplets", func() {
if myDo == nil {
myDo = digitalocean.New(myGui)
} else {
@@ -50,13 +50,13 @@ func cloudApp(n *gui.Node) *gui.Node {
})
grid.NewLabel("initializes the DO golang gui package")
- grid.NewButton("Create", func () {
+ grid.NewButton("Create", func() {
// myDo.Create("jcarr.wit.com")
digitalocean.InitCreateWindow()
})
grid.NewLabel("makes a new droplet")
- box.NewButton("gui debugger", func () {
+ box.NewButton("gui debugger", func() {
debugger.DebugWindow()
})
grid.NewLabel("make sure you have $ENV(DIGITALOCEAN_TOKEN} set to your API token")