Add support go 1.19

This commit is contained in:
mstmdev 2022-08-08 02:43:33 +08:00
parent ad66d9d11a
commit 08b645ad1a
2 changed files with 5 additions and 5 deletions

View File

@ -27,9 +27,9 @@ jobs:
needs: lint needs: lint
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
go-build: ~/.cache/go-build go-build: ~/.cache/go-build

View File

@ -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