summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 18:12:55 -0600
committerJeff Carr <[email protected]>2024-01-19 18:12:55 -0600
commit7e6e20ca81fafbec28c258fc32c53f4f5dffb7db (patch)
tree1802b77ac12c27ff5c90658c47fad05a62384bbf
parent04108de2c564330612e100060ec80ae8d9ae0d7e (diff)
main() doesn't run as a plugin
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index 5f23297..b595ecb 100644
--- a/main.go
+++ b/main.go
@@ -20,8 +20,11 @@ func init() {
me.myTree.ActionFromChannel = doAction
log.Log(INFO, "Init() END")
+
+ simpleStdin()
}
+// this must be defined for plugin's, but is never run
+// I assume it's for testing the code in a stand alone way
func main() {
- simpleStdin()
}