summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-05 12:32:55 -0500
committerJeff Carr <[email protected]>2025-10-05 12:32:55 -0500
commitf09240a122f09f297d96332c431db74857b93e6f (patch)
tree48fb68c1dcc144bb5b577319fa93458e139ef899 /structs.go
parent71b54e6dd01fae2ecb5cc29890b12bbd1299aa6c (diff)
more cleanupsv0.1.18
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/structs.go b/structs.go
index 2f07955..9b3da7b 100644
--- a/structs.go
+++ b/structs.go
@@ -4,9 +4,7 @@
package main
import (
- "os"
"sync"
- "time"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/forgepb"
@@ -18,7 +16,6 @@ var me *mainType
// this app's variables
type mainType struct {
once sync.Once // one-time initialized data
- start time.Time // what the app starts (used for timing automated runs)
sh *prep.Auto // more experiments for bash handling
forge *forgepb.Forge // your customized repo preferences and settings
machine *zoopb.Machine // your customized repo preferences and settings
@@ -38,11 +35,3 @@ func initMachine() {
me.machine, _ = zoopb.InitMachine()
}
}
-
-func initMain() {
- // autocomplete must be processed before there is anything sent to STDOUT or STDERR
- me.sh = prep.Bash3(&argv) // add support for bash autocomplete with go-arg
- me.homedir, _ = os.UserHomeDir() // store shortcut here todo: add better logic
- me.start = time.Now()
- dumpDebug() // tinkering
-}