tutorials: Renamed for consistency + fixed tutorial code. (#1569)
This commit is contained in:
parent
0581180d24
commit
697372d81e
|
@ -1,4 +1,4 @@
|
|||
module github.com/prometheus/client_golang/tutorial
|
||||
module github.com/prometheus/client_golang/tutorials/whatsup
|
||||
|
||||
go 1.20
|
||||
|
|
@ -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() {
|
|
@ -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() {
|
Loading…
Reference in New Issue