diff --git a/exporter/structs.go b/exporter/structs.go index 3ae4fbac..283037d6 100644 --- a/exporter/structs.go +++ b/exporter/structs.go @@ -3,7 +3,7 @@ package exporter import ( "net/http" - "github.com/infinityworks/github-exporter/config" + "github.com/githubexporter/github-exporter/config" "github.com/prometheus/client_golang/prometheus" ) diff --git a/go.mod b/go.mod index 33087bc9..2b6d0be4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/infinityworks/github-exporter +module github.com/githubexporter/github-exporter go 1.19 diff --git a/http/server.go b/http/server.go index 759c2d66..f26d3183 100644 --- a/http/server.go +++ b/http/server.go @@ -1,11 +1,12 @@ package http import ( - "github.com/infinityworks/github-exporter/exporter" - "github.com/prometheus/client_golang/prometheus" - "github.com/prometheus/client_golang/prometheus/promhttp" "log" "net/http" + + "github.com/githubexporter/github-exporter/exporter" + "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/client_golang/prometheus/promhttp" ) type Server struct { diff --git a/main.go b/main.go index 83d19a83..35a54677 100644 --- a/main.go +++ b/main.go @@ -1,9 +1,9 @@ package main import ( - conf "github.com/infinityworks/github-exporter/config" - "github.com/infinityworks/github-exporter/exporter" - "github.com/infinityworks/github-exporter/http" + conf "github.com/githubexporter/github-exporter/config" + "github.com/githubexporter/github-exporter/exporter" + "github.com/githubexporter/github-exporter/http" "github.com/infinityworks/go-common/logger" "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" diff --git a/test/github_exporter_test.go b/test/github_exporter_test.go index ae0d6e21..57064c37 100644 --- a/test/github_exporter_test.go +++ b/test/github_exporter_test.go @@ -2,16 +2,17 @@ package test import ( "fmt" - "github.com/infinityworks/github-exporter/config" - "github.com/infinityworks/github-exporter/exporter" - web "github.com/infinityworks/github-exporter/http" - "github.com/prometheus/client_golang/prometheus" - "github.com/steinfletcher/apitest" "io/ioutil" "net/http" "os" "strings" "testing" + + "github.com/githubexporter/github-exporter/config" + "github.com/githubexporter/github-exporter/exporter" + web "github.com/githubexporter/github-exporter/http" + "github.com/prometheus/client_golang/prometheus" + "github.com/steinfletcher/apitest" ) func TestHomepage(t *testing.T) {