From e53c5bb205827022eca057327869ff7beb2dd27c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 Oct 2025 10:41:20 -0500 Subject: maybe useful, maybe not --- flags.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flags.go b/flags.go index 0638b71..24a3fce 100644 --- a/flags.go +++ b/flags.go @@ -1,5 +1,14 @@ package config +// returns true if config is working okay +func InitValid() bool { + if configPB == nil { + // todo: try to re-init it here + return false + } + return true +} + func Get(flag string) string { if configPB == nil { return "" -- cgit v1.2.3