summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-02-09 19:47:52 -0600
committerJeff Carr <[email protected]>2023-02-09 19:47:52 -0600
commit3959b6c328fc335475f2e9df8aaabbc9a1ca7c43 (patch)
tree4e657a9003bb94af8e2c89814f6cf6478dd1be9b /main.go
parentd00a8f5cd32147370f8318b1e469558f44b6c81e (diff)
add a struct for the machinev0.0.1
'me' is probably not a great variable name Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 29c8829..1d4d4df 100644
--- a/main.go
+++ b/main.go
@@ -9,11 +9,15 @@ import (
arg "github.com/alexflint/go-arg"
)
+var me Host
+
func main() {
arg.MustParse(&args)
// fmt.Println(args.Foo, args.Bar, args.User)
log.Println("Toolkit = ", args.Toolkit)
+ me.ips = make(map[string]*IPtype)
+
// gui.InitPlugins([]string{"andlabs"})
scanInterfaces()