diff options
author | Julien Dessaux | 2021-04-23 16:51:22 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-04-23 16:51:22 +0200 |
commit | 38d9c881b3b5ece91f428c87f0b7bb9efb3e88a8 (patch) | |
tree | d3f7167fae6388f4db35a63e660d1816c9c2943e /spool | |
parent | Fixed wrongfully hardcoded path in tests. (diff) | |
download | bareos-zabbix-check-38d9c881b3b5ece91f428c87f0b7bb9efb3e88a8.tar.gz bareos-zabbix-check-38d9c881b3b5ece91f428c87f0b7bb9efb3e88a8.tar.bz2 bareos-zabbix-check-38d9c881b3b5ece91f428c87f0b7bb9efb3e88a8.zip |
Updated for go 1.16 modules1.2
Diffstat (limited to '')
-rw-r--r-- | pkg/spool/parse.go (renamed from spool/parse.go) | 2 | ||||
-rw-r--r-- | pkg/spool/parse_test.go (renamed from spool/parse_test.go) | 3 | ||||
-rw-r--r-- | pkg/spool/serialize.go (renamed from spool/serialize.go) | 3 | ||||
-rw-r--r-- | pkg/spool/serialize_test.go (renamed from spool/serialize_test.go) | 3 |
4 files changed, 7 insertions, 4 deletions
diff --git a/spool/parse.go b/pkg/spool/parse.go index 5695890..fc378f3 100644 --- a/spool/parse.go +++ b/pkg/spool/parse.go @@ -1,11 +1,11 @@ package spool import ( - "bareos-zabbix-check/job" "encoding/csv" "io" "strconv" + "git.adyxax.org/adyxax/bareos-zabbix-check/pkg/job" "github.com/pkg/errors" ) diff --git a/spool/parse_test.go b/pkg/spool/parse_test.go index 80b961f..cfbb050 100644 --- a/spool/parse_test.go +++ b/pkg/spool/parse_test.go @@ -1,12 +1,13 @@ package spool import ( - "bareos-zabbix-check/job" "bytes" "io" "reflect" "testing" "testing/iotest" + + "git.adyxax.org/adyxax/bareos-zabbix-check/pkg/job" ) func TestParse(t *testing.T) { diff --git a/spool/serialize.go b/pkg/spool/serialize.go index 04af8da..bfa7729 100644 --- a/spool/serialize.go +++ b/pkg/spool/serialize.go @@ -1,10 +1,11 @@ package spool import ( - "bareos-zabbix-check/job" "encoding/csv" "fmt" "io" + + "git.adyxax.org/adyxax/bareos-zabbix-check/pkg/job" ) // Serialize writes a spool on the disk diff --git a/spool/serialize_test.go b/pkg/spool/serialize_test.go index 896125c..7337121 100644 --- a/spool/serialize_test.go +++ b/pkg/spool/serialize_test.go @@ -1,9 +1,10 @@ package spool import ( - "bareos-zabbix-check/job" "bytes" "testing" + + "git.adyxax.org/adyxax/bareos-zabbix-check/pkg/job" ) func TestSerialize(t *testing.T) { |