diff --git a/src/cfg/basicAuth.go b/src/cfg/basicAuth.go index bc5408f..991861e 100644 --- a/src/cfg/basicAuth.go +++ b/src/cfg/basicAuth.go @@ -1,6 +1,6 @@ package cfg -import "fail2ban-prometheus-exporter/auth" +import "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/auth" type hashedBasicAuth struct { username string diff --git a/src/collector/f2b/collector.go b/src/collector/f2b/collector.go index a125adb..2b502d6 100644 --- a/src/collector/f2b/collector.go +++ b/src/collector/f2b/collector.go @@ -1,9 +1,9 @@ package f2b import ( - "fail2ban-prometheus-exporter/cfg" - "fail2ban-prometheus-exporter/socket" "github.com/prometheus/client_golang/prometheus" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/cfg" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/socket" "log" ) diff --git a/src/collector/f2b/socket.go b/src/collector/f2b/socket.go index 189ea09..0473cd1 100644 --- a/src/collector/f2b/socket.go +++ b/src/collector/f2b/socket.go @@ -1,8 +1,8 @@ package f2b import ( - "fail2ban-prometheus-exporter/socket" "github.com/prometheus/client_golang/prometheus" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/socket" "log" ) diff --git a/src/collector/textfile/collector.go b/src/collector/textfile/collector.go index 0acc5a2..7b43cb0 100644 --- a/src/collector/textfile/collector.go +++ b/src/collector/textfile/collector.go @@ -1,8 +1,8 @@ package textfile import ( - "fail2ban-prometheus-exporter/cfg" "github.com/prometheus/client_golang/prometheus" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/cfg" "log" ) diff --git a/src/exporter.go b/src/exporter.go index 5b2c837..95af1e0 100644 --- a/src/exporter.go +++ b/src/exporter.go @@ -1,13 +1,13 @@ package main import ( - "fail2ban-prometheus-exporter/auth" - "fail2ban-prometheus-exporter/cfg" - "fail2ban-prometheus-exporter/collector/f2b" - "fail2ban-prometheus-exporter/collector/textfile" "fmt" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/auth" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/cfg" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/collector/f2b" + "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/collector/textfile" "log" "net/http" "os" diff --git a/src/go.mod b/src/go.mod index 23d3a9e..29a9e96 100644 --- a/src/go.mod +++ b/src/go.mod @@ -1,4 +1,4 @@ -module fail2ban-prometheus-exporter +module gitlab.com/hectorjsmith/fail2ban-prometheus-exporter go 1.15