aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@mail.ru>2020-08-17 13:23:27 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2020-08-17 13:23:27 +0300
commit32a2350965ee3d89e1425569ecd271fdcf22f7a1 (patch)
tree6de898aa8460bcad148152a153778db5419829c7 /main.go
parent7f1bb18fd654b58eae56b1d02c4568d62ff226a5 (diff)
initial
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.go b/main.go
index 349f41c..80c5f31 100644
--- a/main.go
+++ b/main.go
@@ -1,7 +1,12 @@
+/*
+Copyright © 2020 Alexander Kiryukhin <a.kiryukhin@mail.ru>
+This file is part of StaticMap project.
+*/
package main
import (
"github.com/labstack/echo/v4"
+ "github.com/neonxp/StaticMap/pkg/static"
"log"
"strconv"
)
@@ -35,7 +40,7 @@ func main() {
if zoom > 20 {
zoom = 20
}
- img, err := GetMapImage(lat, lon, zoom, w, h)
+ img, err := static.GetMapImage(lat, lon, zoom, w, h)
if err != nil {
return err
}