From 3fb4a51404b70899147fc5628290a88c4f98e432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20L=C3=B3pez=20de=20la=20Franca=20Beltran?= Date: Wed, 23 Sep 2020 12:34:00 +0200 Subject: [PATCH] Update Contribute/Architecture/Services documentation (#27722) --- contribute/architecture/services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contribute/architecture/services.md b/contribute/architecture/services.md index 20e92d30027..78352113069 100644 --- a/contribute/architecture/services.md +++ b/contribute/architecture/services.md @@ -40,7 +40,7 @@ func init() { } ``` -`init` functions are only run whenever a package is imported, so we also need to import the package in the application. In the `server.go` file under `pkg/cmd/grafana-server`, import the package we just created: +`init` functions are only run whenever a package is imported, so we also need to import the package in the application. In the `server.go` file under `pkg/server`, import the package we just created: ```go import _ "github.com/grafana/grafana/pkg/services/mysvc"