Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2019-09-25 21:31:00 +08:00
parent 8f0c041de8
commit 27b2f70f8a

View File

@ -9,7 +9,7 @@ import (
"strings" "strings"
"github.com/appleboy/drone-facebook/template" "github.com/appleboy/drone-facebook/template"
"gopkg.in/telegram-bot-api.v4" tgbotapi "gopkg.in/telegram-bot-api.v4"
) )
type ( type (
@ -142,6 +142,7 @@ func globList(keys []string) []string {
} }
func convertLocation(value string) (Location, bool) { func convertLocation(value string) (Location, bool) {
log.Println(value)
var latitude, longitude float64 var latitude, longitude float64
var title, address string var title, address string
var err error var err error