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

Target minimum go 1.18 in v3-dev-main
main
dearchap 2 years ago committed by GitHub
commit 321610437e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

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

Loading…
Cancel
Save