*use api pattern / add missing files
This commit is contained in:
parent
57ebd896da
commit
544489736b
13
web/api.go
Normal file
13
web/api.go
Normal 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,
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user