Merge branch 'rename-project-module-to-include-url-path' into 'main'

Rename project module to include url path

See merge request hectorjsmith/fail2ban-prometheus-exporter!68
This commit is contained in:
Hector 2022-02-25 22:01:55 +00:00
commit 951ceccf67
6 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
package cfg
import "fail2ban-prometheus-exporter/auth"
import "gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/auth"
type hashedBasicAuth struct {
username string

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"

View File

@ -1,4 +1,4 @@
module fail2ban-prometheus-exporter
module gitlab.com/hectorjsmith/fail2ban-prometheus-exporter
go 1.15