From 34ccc98a942098faefb5f4211b215ff9ccc7ad0e Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Mon, 9 Dec 2024 01:07:15 +0300 Subject: Начальный MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/api/handler.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkg/api/handler.go (limited to 'pkg/api/handler.go') diff --git a/pkg/api/handler.go b/pkg/api/handler.go new file mode 100644 index 0000000..de1e8c3 --- /dev/null +++ b/pkg/api/handler.go @@ -0,0 +1,11 @@ +package api + +import "git.neonxp.ru/neonxp/guessr/pkg/service" + +type Handler struct { + places *service.Places +} + +func New(places *service.Places) *Handler { + return &Handler{places: places} +} -- cgit v1.2.3