aboutsummaryrefslogtreecommitdiff
path: root/pkg/config
diff options
context:
space:
mode:
authorJulien Dessaux2021-04-05 17:52:31 +0200
committerJulien Dessaux2021-04-05 17:52:31 +0200
commit1ffc9c42054e208a01d3e70e6b6f3e1781e798f8 (patch)
tree721f202dcf46fb5e9c181013237e4da9d27f796a /pkg/config
parentReworked error handling for better and simpler tests (diff)
downloadtrains-1ffc9c42054e208a01d3e70e6b6f3e1781e798f8.tar.gz
trains-1ffc9c42054e208a01d3e70e6b6f3e1781e798f8.tar.bz2
trains-1ffc9c42054e208a01d3e70e6b6f3e1781e798f8.zip
Moved code around to conform best practices
Diffstat (limited to '')
-rw-r--r--pkg/config/config.go (renamed from config/config.go)0
-rw-r--r--pkg/config/config_test.go (renamed from config/config_test.go)0
-rw-r--r--pkg/config/error.go (renamed from config/error.go)0
-rw-r--r--pkg/config/error_test.go (renamed from config/error_test.go)0
-rw-r--r--pkg/config/test_data/invalid.yaml (renamed from config/test_data/invalid.yaml)0
-rw-r--r--pkg/config/test_data/invalid_address.yaml (renamed from config/test_data/invalid_address.yaml)0
-rw-r--r--pkg/config/test_data/invalid_address_unresolvable.yaml (renamed from config/test_data/invalid_address_unresolvable.yaml)0
-rw-r--r--pkg/config/test_data/invalid_port.yaml (renamed from config/test_data/invalid_port.yaml)0
-rw-r--r--pkg/config/test_data/invalid_token.yaml (renamed from config/test_data/invalid_token.yaml)0
-rw-r--r--pkg/config/test_data/minimal.yaml (renamed from config/test_data/minimal.yaml)0
-rw-r--r--pkg/config/test_data/minimal_with_hostname.yaml (renamed from config/test_data/minimal_with_hostname.yaml)0
11 files changed, 0 insertions, 0 deletions
diff --git a/config/config.go b/pkg/config/config.go
index f97467a..f97467a 100644
--- a/config/config.go
+++ b/pkg/config/config.go
diff --git a/config/config_test.go b/pkg/config/config_test.go
index 3904b5d..3904b5d 100644
--- a/config/config_test.go
+++ b/pkg/config/config_test.go
diff --git a/config/error.go b/pkg/config/error.go
index c49b6a9..c49b6a9 100644
--- a/config/error.go
+++ b/pkg/config/error.go
diff --git a/config/error_test.go b/pkg/config/error_test.go
index f9807c1..f9807c1 100644
--- a/config/error_test.go
+++ b/pkg/config/error_test.go
diff --git a/config/test_data/invalid.yaml b/pkg/config/test_data/invalid.yaml
index db1ddad..db1ddad 100644
--- a/config/test_data/invalid.yaml
+++ b/pkg/config/test_data/invalid.yaml
diff --git a/config/test_data/invalid_address.yaml b/pkg/config/test_data/invalid_address.yaml
index e3682b2..e3682b2 100644
--- a/config/test_data/invalid_address.yaml
+++ b/pkg/config/test_data/invalid_address.yaml
diff --git a/config/test_data/invalid_address_unresolvable.yaml b/pkg/config/test_data/invalid_address_unresolvable.yaml
index d476093..d476093 100644
--- a/config/test_data/invalid_address_unresolvable.yaml
+++ b/pkg/config/test_data/invalid_address_unresolvable.yaml
diff --git a/config/test_data/invalid_port.yaml b/pkg/config/test_data/invalid_port.yaml
index 2790b3f..2790b3f 100644
--- a/config/test_data/invalid_port.yaml
+++ b/pkg/config/test_data/invalid_port.yaml
diff --git a/config/test_data/invalid_token.yaml b/pkg/config/test_data/invalid_token.yaml
index 6f9e297..6f9e297 100644
--- a/config/test_data/invalid_token.yaml
+++ b/pkg/config/test_data/invalid_token.yaml
diff --git a/config/test_data/minimal.yaml b/pkg/config/test_data/minimal.yaml
index 2944645..2944645 100644
--- a/config/test_data/minimal.yaml
+++ b/pkg/config/test_data/minimal.yaml
diff --git a/config/test_data/minimal_with_hostname.yaml b/pkg/config/test_data/minimal_with_hostname.yaml
index 716b2d5..716b2d5 100644
--- a/config/test_data/minimal_with_hostname.yaml
+++ b/pkg/config/test_data/minimal_with_hostname.yaml