diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-09-05 02:41:21 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-09-05 02:41:21 -0500 |
| commit | db947b801555913179c5e700e8b526166e3582ca (patch) | |
| tree | 8900c0ffd2a225fda538045fd4a45e777d9d7044 /rubric_config.go | |
| parent | 76a134a0c5a0f4b8905c7ffa91517cdc1e9d0414 (diff) | |
Add config w/ version information
Diffstat (limited to 'rubric_config.go')
| -rw-r--r-- | rubric_config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rubric_config.go b/rubric_config.go index 887bbb0..322e58a 100644 --- a/rubric_config.go +++ b/rubric_config.go @@ -135,7 +135,7 @@ func (defaults *Defaults) decodeAdapters( } // Decode defaults.toml -func DecodeDefaults(path string, adapterCfg []AdapterConfig) (Defaults, error) { +func DecodeRubricDefaults(path string, adapterCfg []AdapterConfig) (Defaults, error) { defaults := Defaults { } if _, err := toml.DecodeFile(path, &defaults); err != nil { @@ -151,7 +151,7 @@ func DecodeDefaults(path string, adapterCfg []AdapterConfig) (Defaults, error) { } // Decode an individual unit -func DecodeConfig(path string, adapterCfg []AdapterConfig) (TestCaseConfig, error) { +func DecodeRubricConfig(path string, adapterCfg []AdapterConfig) (TestCaseConfig, error) { config := TestCaseConfig { } if _, err := toml.DecodeFile(path, &config); err != nil { |
