Skip to content

Commit

Permalink
tutorials: Renamed for consistency + fixed tutorial code. (#1569)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwplotka authored Jul 31, 2024
1 parent 0581180 commit 697372d
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tutorial/whatsup/go.mod → tutorials/whatsup/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/prometheus/client_golang/tutorial
module github.com/prometheus/client_golang/tutorials/whatsup

go 1.20

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tutorial/whatsup/main.go → tutorials/whatsup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
"github.com/prometheus/client_golang/api"
v1 "github.com/prometheus/client_golang/api/prometheus/v1"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/tutorial/internal"
"github.com/prometheus/client_golang/tutorials/whatsup/internal"
)

func main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
"github.com/prometheus/client_golang/prometheus/collectors"
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/client_golang/tutorial/internal"
"github.com/prometheus/client_golang/tutorials/whatsup/internal"
)

func main() {
Expand Down

0 comments on commit 697372d

Please sign in to comment.