diff options
author | Julien Dessaux | 2020-02-24 23:05:45 +0100 |
---|---|---|
committer | Julien Dessaux | 2020-02-25 09:46:38 +0100 |
commit | cadb15f7afb5e7c88667eb4006209efca17744af (patch) | |
tree | 7e8e9e55c22bd4d195caf2b1dc1123500443ce75 /config/config.go | |
parent | Added tests to the spool package, and reworked the code around that. (diff) | |
download | bareos-zabbix-check-cadb15f7afb5e7c88667eb4006209efca17744af.tar.gz bareos-zabbix-check-cadb15f7afb5e7c88667eb4006209efca17744af.tar.bz2 bareos-zabbix-check-cadb15f7afb5e7c88667eb4006209efca17744af.zip |
Added tests to the main package and completely reworked the code around that1.0
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/config/config.go b/config/config.go deleted file mode 100644 index 262a5d2..0000000 --- a/config/config.go +++ /dev/null @@ -1,21 +0,0 @@ -package config - -// Config object -type Config struct { - verbose bool - quiet bool - stateFile string - workDir string -} - -// Verbose gets the verbose field of the configuration -func (config *Config) Verbose() bool { return config.verbose } - -// Quiet gets the quiet field of the configuration -func (config *Config) Quiet() bool { return config.quiet } - -// StateFile gets the stateFile field of the configuration -func (config *Config) StateFile() string { return config.stateFile } - -// WorkDir gets the workDir field of the configuration -func (config *Config) WorkDir() string { return config.workDir } |