diff --git a/tutorial/whatsup/.gitignore b/tutorials/whatsup/.gitignore similarity index 100% rename from tutorial/whatsup/.gitignore rename to tutorials/whatsup/.gitignore diff --git a/tutorial/whatsup/ContribFest.pdf b/tutorials/whatsup/ContribFest.pdf similarity index 100% rename from tutorial/whatsup/ContribFest.pdf rename to tutorials/whatsup/ContribFest.pdf diff --git a/tutorial/whatsup/Makefile b/tutorials/whatsup/Makefile similarity index 100% rename from tutorial/whatsup/Makefile rename to tutorials/whatsup/Makefile diff --git a/tutorial/whatsup/README.md b/tutorials/whatsup/README.md similarity index 100% rename from tutorial/whatsup/README.md rename to tutorials/whatsup/README.md diff --git a/tutorial/whatsup/go.mod b/tutorials/whatsup/go.mod similarity index 97% rename from tutorial/whatsup/go.mod rename to tutorials/whatsup/go.mod index 2e154b9..a331115 100644 --- a/tutorial/whatsup/go.mod +++ b/tutorials/whatsup/go.mod @@ -1,4 +1,4 @@ -module github.com/prometheus/client_golang/tutorial +module github.com/prometheus/client_golang/tutorials/whatsup go 1.20 diff --git a/tutorial/whatsup/go.sum b/tutorials/whatsup/go.sum similarity index 100% rename from tutorial/whatsup/go.sum rename to tutorials/whatsup/go.sum diff --git a/tutorial/whatsup/internal/acceptance_test.go b/tutorials/whatsup/internal/acceptance_test.go similarity index 100% rename from tutorial/whatsup/internal/acceptance_test.go rename to tutorials/whatsup/internal/acceptance_test.go diff --git a/tutorial/whatsup/internal/common.go b/tutorials/whatsup/internal/common.go similarity index 100% rename from tutorial/whatsup/internal/common.go rename to tutorials/whatsup/internal/common.go diff --git a/tutorial/whatsup/internal/playground_test.go b/tutorials/whatsup/internal/playground_test.go similarity index 100% rename from tutorial/whatsup/internal/playground_test.go rename to tutorials/whatsup/internal/playground_test.go diff --git a/tutorial/whatsup/main.go b/tutorials/whatsup/main.go similarity index 98% rename from tutorial/whatsup/main.go rename to tutorials/whatsup/main.go index b4252f3..5943eef 100644 --- a/tutorial/whatsup/main.go +++ b/tutorials/whatsup/main.go @@ -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() { diff --git a/tutorial/whatsup/reference/main.go b/tutorials/whatsup/reference/main.go similarity index 99% rename from tutorial/whatsup/reference/main.go rename to tutorials/whatsup/reference/main.go index 3c41151..d7ac1c7 100644 --- a/tutorial/whatsup/reference/main.go +++ b/tutorials/whatsup/reference/main.go @@ -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() {