This commit is contained in:
Jay 2018-12-06 11:31:24 +08:00
parent 1f42849cef
commit a066ea63c1

View File

@ -138,7 +138,7 @@ func GetNotifyWebhook(c *context.Context) {
str = strings.Replace(str, "{txt}", hook.Entry[0].Title, -1) str = strings.Replace(str, "{txt}", hook.Entry[0].Title, -1)
} }
msg := &lineapi.TextMessage{ msg := lineapi.TextMessage{
Text: str, Text: str,
} }
log.Println("msg ::::: ", msg) log.Println("msg ::::: ", msg)