chore: upgrade to go1.20.3 and x/exp nightly
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.20.1
|
go-version: 1.20.3
|
||||||
stable: false
|
stable: false
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
@@ -41,4 +41,4 @@ jobs:
|
|||||||
# skip-build-cache: true
|
# skip-build-cache: true
|
||||||
|
|
||||||
# optionally use a specific version of Go rather than the latest one
|
# optionally use a specific version of Go rather than the latest one
|
||||||
go_version: '1.20.1'
|
go_version: '1.20.3'
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.20.1
|
go-version: 1.20.3
|
||||||
stable: false
|
stable: false
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.20.1
|
go-version: 1.20.3
|
||||||
stable: false
|
stable: false
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# slog: Gin middleware
|
# slog: Gin middleware
|
||||||
|
|
||||||
[](https://github.com/samber/slog-gin/releases)
|
[](https://github.com/samber/slog-gin/releases)
|
||||||

|

|
||||||
[](https://pkg.go.dev/github.com/samber/slog-gin)
|
[](https://pkg.go.dev/github.com/samber/slog-gin)
|
||||||

|

|
||||||
[](https://goreportcard.com/report/github.com/samber/slog-gin)
|
[](https://goreportcard.com/report/github.com/samber/slog-gin)
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
go get github.com/samber/slog-gin
|
go get github.com/samber/slog-gin
|
||||||
```
|
```
|
||||||
|
|
||||||
**Compatibility**: go >= 1.20.1
|
**Compatibility**: go >= 1.20.3
|
||||||
|
|
||||||
This library is v0 and follows SemVer strictly. On `slog` final release (go 1.21), this library will go v1.
|
This library is v0 and follows SemVer strictly. On `slog` final release (go 1.21), this library will go v1.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ module github.com/samber/slog-gin
|
|||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
require golang.org/x/exp v0.0.0-20230321023759-10a507213a29
|
require golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/bytedance/sonic v1.8.0 // indirect
|
github.com/bytedance/sonic v1.8.0 // indirect
|
||||||
|
|||||||
@@ -67,8 +67,8 @@ golang.org/x/arch v0.0.0-20210923205945-b76863e36670 h1:18EFjUmQOcUvxNYSkA6jO9VA
|
|||||||
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
|
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
|
||||||
golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE=
|
golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE=
|
||||||
golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU=
|
golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU=
|
||||||
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug=
|
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o=
|
||||||
golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
|
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
|
||||||
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
|
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
|
||||||
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
|
|||||||
Reference in New Issue
Block a user