diff options
| author | Jeff Carr <[email protected]> | 2023-12-20 05:58:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-20 05:58:33 -0600 |
| commit | 85b9a036c289fe840e69e1852866f429b87cf63e (patch) | |
| tree | eb18f693027cd220f71c0fb015a67346d82a37cc /toolkit/andlabs/main.go | |
| parent | 87ab9a958d9eb9f4db35d5c9f9ce923df3132dad (diff) | |
code moved to the cloudflare package
use the cloudflare package
add a protobuf attempt
better change detection, but formatting is broken
don't redraw widgets if they are not visible
create new dns entry worked
attempting a DNS RR create
attempt a create API call
use cloudflare recommended ENV vars
turn off debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/main.go')
| -rw-r--r-- | toolkit/andlabs/main.go | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/toolkit/andlabs/main.go b/toolkit/andlabs/main.go index e2d34a3..3430769 100644 --- a/toolkit/andlabs/main.go +++ b/toolkit/andlabs/main.go @@ -40,13 +40,18 @@ func init() { // log(debugToolkit, "init() Setting defaultBehavior = true") setDefaultBehavior(true) - // andlabs = make(map[int]*andlabsT) - pluginChan = make(chan toolkit.Action, 1) - log(logNow, "Init() start channel reciever") + // TODO: this is messed up. run ui.Main() from the first add? Initialize it with an empty thing first? + // fake out the OS toolkit by making a fake window. This is probably needed for macos & windows + // actually, this probably breaks the macos build go ui.Main(func() { demoUI() }) + + // andlabs = make(map[int]*andlabsT) + pluginChan = make(chan toolkit.Action, 1) + + log(logNow, "Init() start channel reciever") go catchActionChannel() log(logNow, "Init() END") } |
