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