diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 10:41:20 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 10:41:20 -0500 |
| commit | e53c5bb205827022eca057327869ff7beb2dd27c (patch) | |
| tree | 9ee794ecc96614f48dc488c30870ccbb2c409b16 | |
| parent | 6bf6cd03a651013a327d31427d0366cd8aa1c8de (diff) | |
maybe useful, maybe not
| -rw-r--r-- | flags.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 "" |
