From 7880d9df6de1040258bea966f040e12be6205af1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 2 Dec 2023 19:02:51 -0600 Subject: gocui plugin refactor to a *node binary tree rename arg '--gui ' add a cloudflare example fixes since go v1.21 didn't compile anymore due to argv order more place() changes recursive size computation gocui: Major refactor to use the *node binary tree gocui: refactor place() and size() gocui: better place() and spacing (tab, buttons, etc) gocui: better mouse click handling gocui: switch to using tk.gocuiSize & tk.size gocui: event handling cleanups gocui: add window labels work gocui: struct cleanups gocui: duplicate binary tree structs removed gocui: deprecate old children Signed-off-by: Jeff Carr --- log/structs.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 log/structs.go (limited to 'log/structs.go') diff --git a/log/structs.go b/log/structs.go new file mode 100644 index 0000000..b5d849c --- /dev/null +++ b/log/structs.go @@ -0,0 +1,13 @@ +package witlog + +import ( +) + +// +// Attempt to switch logging to syslog on linux +// + +// This struct can be used with the go-arg package +type LogArgs struct { + Log []string `arg:"--log" help:"Where to log [syslog,stdout]"` +} -- cgit v1.2.3