Skip to content

Commit

Permalink
Support Go 1.21 and drop 1.19 (#383)
Browse files Browse the repository at this point in the history
* Support Go 1.21

* Use 1.20 in go.mod
  • Loading branch information
Yang-33 authored Nov 1, 2023
1 parent 28c1986 commit ba62e0f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
strategy:
matrix:
go:
- '1.19'
- '1.19.11'
- '1.20'
- '1.20.6'
- '1.20.10'
- '1.21'
- '1.21.3'
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ See the official API documentation for more information.

## Requirements

This library requires Go 1.11 or later.
This library requires Go 1.20 or later.

## Installation ##

Expand All @@ -29,17 +29,17 @@ $ go get -u github.com/line/line-bot-sdk-go/v7/linebot
## Import all packages in your code ##
```go
import (
"github.com/line/line-bot-sdk-go/v7/linebot"
"github.com/line/line-bot-sdk-go/v7/linebot/channel_access_token"
"github.com/line/line-bot-sdk-go/v7/linebot/httphandler"
"github.com/line/line-bot-sdk-go/v7/linebot/insight"
"github.com/line/line-bot-sdk-go/v7/linebot/liff"
"github.com/line/line-bot-sdk-go/v7/linebot/manage_audience"
"github.com/line/line-bot-sdk-go/v7/linebot/messaging_api"
"github.com/line/line-bot-sdk-go/v7/linebot/module"
"github.com/line/line-bot-sdk-go/v7/linebot/module_attach"
"github.com/line/line-bot-sdk-go/v7/linebot/shop"
"github.com/line/line-bot-sdk-go/v7/linebot/webhook"
"github.com/line/line-bot-sdk-go/v7/linebot"
"github.com/line/line-bot-sdk-go/v7/linebot/channel_access_token"
"github.com/line/line-bot-sdk-go/v7/linebot/httphandler"
"github.com/line/line-bot-sdk-go/v7/linebot/insight"
"github.com/line/line-bot-sdk-go/v7/linebot/liff"
"github.com/line/line-bot-sdk-go/v7/linebot/manage_audience"
"github.com/line/line-bot-sdk-go/v7/linebot/messaging_api"
"github.com/line/line-bot-sdk-go/v7/linebot/module"
"github.com/line/line-bot-sdk-go/v7/linebot/module_attach"
"github.com/line/line-bot-sdk-go/v7/linebot/shop"
"github.com/line/line-bot-sdk-go/v7/linebot/webhook"
)

```
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/line/line-bot-sdk-go/v7

go 1.19
go 1.20

0 comments on commit ba62e0f

Please sign in to comment.