Skip to content

Commit

Permalink
Fix imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
udhos committed Jan 15, 2024
1 parent 8ea8193 commit 0cd32d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This exporter implements the prometheus.Collector interface in order to expose P
# Example for mailgun groupcache

```golang
import "github.com/grafana/groupcache_exporter/groupcache/mailgun"
import "github.com/udhos/groupcache_exporter/groupcache/mailgun"

// ...

Expand Down Expand Up @@ -47,7 +47,7 @@ Full example: [./examples/groupcache/mailgun](./examples/groupcache/mailgun)
# Example for modernprogram groupcache

```golang
import "github.com/grafana/groupcache_exporter/groupcache/modernprogram"
import "github.com/udhos/groupcache_exporter/groupcache/modernprogram"

// ...

Expand Down
4 changes: 2 additions & 2 deletions examples/groupcache-exporter-mailgun/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"path/filepath"
"time"

"github.com/grafana/groupcache_exporter"
"github.com/grafana/groupcache_exporter/groupcache/mailgun"
"github.com/mailgun/groupcache/v2"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/udhos/groupcache_exporter"
"github.com/udhos/groupcache_exporter/groupcache/mailgun"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/groupcache-exporter-modernprogram/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"path/filepath"
"time"

"github.com/grafana/groupcache_exporter"
"github.com/grafana/groupcache_exporter/groupcache/modernprogram"
"github.com/modernprogram/groupcache/v2"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/udhos/groupcache_exporter"
"github.com/udhos/groupcache_exporter/groupcache/modernprogram"
)

func main() {
Expand Down
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/grafana/groupcache_exporter
module github.com/udhos/groupcache_exporter

go 1.21.5

toolchain go1.21.6
go 1.21.6

require (
github.com/mailgun/groupcache/v2 v2.5.0
Expand Down

0 comments on commit 0cd32d7

Please sign in to comment.