tutorials: Renamed for consistency + fixed tutorial code. (#1569)

This commit is contained in:
Bartlomiej Plotka 2024-07-31 14:06:25 +02:00 committed by GitHub
parent 0581180d24
commit 697372d81e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
module github.com/prometheus/client_golang/tutorial
module github.com/prometheus/client_golang/tutorials/whatsup
go 1.20

View File

@ -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() {

View File

@ -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() {