diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 00:15:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 00:15:41 -0500 |
| commit | fc17dc394aedbc5fd636676202bad40c1f98c1de (patch) | |
| tree | 197ff50da15f186c38d50a71fede7b0c160ee57f /flags.go | |
| parent | 3b4821a3af62376d675699493e01cd07891ad69c (diff) | |
implement application specific Config files (and Verbose())
Diffstat (limited to 'flags.go')
| -rw-r--r-- | flags.go | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/flags.go b/flags.go new file mode 100644 index 0000000..d827f7e --- /dev/null +++ b/flags.go @@ -0,0 +1,23 @@ +package config + +func Get(flag string) string { + if configPB == nil { + return "" + } + found := configPB.FindByKey(flag) + if found == nil { + return "" + } + return found.Value +} + +func GetError(flag string) error { + return nil +} + +func Set(flag string) { +} + +func SetError(flag string) error { + return nil +} |
