From 544489736b6a8b71c7a6d8e4b54bdc4b59b3490c Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Mon, 12 Apr 2021 13:55:10 +0200 Subject: [PATCH] *use api pattern / add missing files --- web/api.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 web/api.go diff --git a/web/api.go b/web/api.go new file mode 100644 index 0000000..3a9a137 --- /dev/null +++ b/web/api.go @@ -0,0 +1,13 @@ +package web + +import "mapserver/app" + +type Api struct { + Context *app.App +} + +func NewApi(ctx *app.App) *Api { + return &Api{ + Context: ctx, + } +}