Skip to content

Commit 697372d

Browse files
authoredJul 31, 2024··
tutorials: Renamed for consistency + fixed tutorial code. (#1569)
1 parent 0581180 commit 697372d

File tree

11 files changed

+3
-3
lines changed

11 files changed

+3
-3
lines changed
 
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎tutorial/whatsup/go.mod ‎tutorials/whatsup/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/prometheus/client_golang/tutorial
1+
module github.com/prometheus/client_golang/tutorials/whatsup
22

33
go 1.20
44

File renamed without changes.
File renamed without changes.

‎tutorial/whatsup/main.go ‎tutorials/whatsup/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
"github.com/prometheus/client_golang/api"
3737
v1 "github.com/prometheus/client_golang/api/prometheus/v1"
3838
"github.com/prometheus/client_golang/prometheus"
39-
"github.com/prometheus/client_golang/tutorial/internal"
39+
"github.com/prometheus/client_golang/tutorials/whatsup/internal"
4040
)
4141

4242
func main() {

‎tutorial/whatsup/reference/main.go ‎tutorials/whatsup/reference/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939
"github.com/prometheus/client_golang/prometheus/collectors"
4040
"github.com/prometheus/client_golang/prometheus/promauto"
4141
"github.com/prometheus/client_golang/prometheus/promhttp"
42-
"github.com/prometheus/client_golang/tutorial/internal"
42+
"github.com/prometheus/client_golang/tutorials/whatsup/internal"
4343
)
4444

4545
func main() {

0 commit comments

Comments
 (0)
Please sign in to comment.