Skip to content

Commit

Permalink
add back related masrshal
Browse files Browse the repository at this point in the history
  • Loading branch information
kkdai committed Feb 6, 2022
1 parent 303a6eb commit 4e44dd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func callbackHandler(w http.ResponseWriter, r *http.Request) {
}
// message.ID: Msg unique ID
// message.Text: Msg text
if _, err = bot.ReplyMessage(event.ReplyToken, linebot.NewTextMessage(message.ID+":"+message.Text+" OK! remain message:"+strconv.FormatInt(quota.Value, 10))).Do(); err != nil {
if _, err = bot.ReplyMessage(event.ReplyToken, linebot.NewTextMessage("msg ID:"+message.ID+":"+"Get:"+message.Text+" , \n OK! remain message:"+strconv.FormatInt(quota.Value, 10))).Do(); err != nil {
log.Print(err)
}

Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/line/line-bot-sdk-go/v7/linebot/event.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e44dd9

Please sign in to comment.