From 838513e655fc91153ababffe64caee78fe6a1b1c Mon Sep 17 00:00:00 2001 From: Masahiro Furudate <178inaba.git@gmail.com> Date: Mon, 23 Sep 2024 14:45:17 +0900 Subject: [PATCH] Fix README (#483) * Fix pkg.go.dev badge * Fix PushMessage example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cfd74f97..6e015512 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://github.com/line/line-bot-sdk-go/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/line/line-bot-sdk-go/actions) [![codecov](https://codecov.io/gh/line/line-bot-sdk-go/branch/master/graph/badge.svg)](https://codecov.io/gh/line/line-bot-sdk-go) -[![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/line/line-bot-sdk-go/linebot) +[![Go Reference](https://pkg.go.dev/badge/github.com/line/line-bot-sdk-go/v8/linebot.svg)](https://pkg.go.dev/github.com/line/line-bot-sdk-go/v8/linebot) [![Go Report Card](https://goreportcard.com/badge/github.com/line/line-bot-sdk-go)](https://goreportcard.com/report/github.com/line/line-bot-sdk-go) @@ -156,11 +156,11 @@ bot.PushMessage( To: "U.......", Messages: []messaging_api.MessageInterface{ messaging_api.TextMessage{ - Text: replyMessage, + Text: pushMessage, }, }, }, - nil, // x-line-retry-key + "", // x-line-retry-key ) ```