*use api pattern / add missing files

This commit is contained in:
BuckarooBanzay 2021-04-12 13:55:10 +02:00
parent 57ebd896da
commit 544489736b

13
web/api.go Normal file
View File

@ -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,
}
}