diff options
| author | Jeff Carr <[email protected]> | 2024-02-25 18:37:44 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-25 18:37:44 -0600 |
| commit | 7b4eb41de7e1c65c07dfc8f04f1263b3f258b268 (patch) | |
| tree | 0b8e95385cef782a74c554d53223c2ad55d60825 /main.go | |
| parent | fd082d49659c722776d72b97b9eca9d4aab8b78e (diff) | |
better names with Init() vs New()v0.21.1
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -46,17 +46,17 @@ func main() { makeMainWindow() // These are your problems - me.problems = NewErrorBox(me.window.Box(), "Errors", "has problems?") + me.problems = InitErrorBox(me.window.Box(), "Errors", "has problems?") me.problems.addIPerror(RR, USER, "1:1:1:1") me.window.Show() me.debug = debugWindow("Debugging") - me.digStatus = NewDigStatusWindow() - me.statusDNS = NewHostnameStatusWindow() - - me.statusOS = linuxstatus.NewLinuxStatus(me.myGui) + // 3 external windows that should be seperate go packages + me.digStatus = InitDigStatus() + me.statusDNS = InitHostnameStatus() + me.statusOS = linuxstatus.InitLinuxStatus() digLoop() |
