mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
Add support go 1.19
This commit is contained in:
parent
ad66d9d11a
commit
08b645ad1a
2
.github/workflows/gin.yml
vendored
2
.github/workflows/gin.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest, macos-latest ]
|
os: [ ubuntu-latest, macos-latest ]
|
||||||
go: [1.15, 1.16, 1.17, 1.18]
|
go: [ 1.15, 1.16, 1.17, 1.18, 1.19 ]
|
||||||
test-tags: [ '', '-tags nomsgpack', '-tags "sonic avx"', '-tags go_json' ]
|
test-tags: [ '', '-tags nomsgpack', '-tags "sonic avx"', '-tags go_json' ]
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a MIT style
|
// Use of this source code is governed by a MIT style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build go1.17
|
//go:build go1.17 && !go1.19
|
||||||
// +build go1.17
|
// +build go1.17,!go1.19
|
||||||
|
|
||||||
package gin
|
package gin
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user