Merge pull request #1438 from urfave/v3-target-1.18-min

Target minimum go 1.18 in v3-dev-main
This commit is contained in:
dearchap 2022-08-13 13:00:29 -04:00 committed by GitHub
commit 321610437e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 (