From cadb15f7afb5e7c88667eb4006209efca17744af Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 24 Feb 2020 23:05:45 +0100 Subject: Added tests to the main package and completely reworked the code around that --- config/config.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 config/config.go (limited to 'config/config.go') 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 } -- cgit v1.2.3