Target minimum go 1.18 in v3-dev-main

This commit is contained in:
Dan Buch 2022-07-16 12:10:51 -04:00
parent cb7532a1df
commit 887d31ffaf
Signed by: meatballhat
GPG Key ID: A12F782281063434
4 changed files with 1 additions and 17 deletions

View File

@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.16.x, 1.17.x, 1.18.x]
go: [1.18.x]
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:

View File

@ -1,6 +1,3 @@
//go:build go1.18
// +build go1.18
package cli
import (

View File

@ -1,10 +0,0 @@
//go:build !go1.18
// +build !go1.18
package cli
import (
"flag"
)
func unwrapFlagValue(v flag.Value) flag.Value { return v }

View File

@ -1,6 +1,3 @@
//go:build go1.18
// +build go1.18
package cli
import (