all: require go 1.18 (#379)

Require Go 1.18 in module file. Resolve related lint issues.
This commit is contained in:
Michael McLoughlin
2023-03-05 20:04:45 -08:00
committed by GitHub
parent 4e72ca720b
commit 759be3dad9
4 changed files with 6 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ func NewSignature(pkg *types.Package, sig *types.Signature) *Signature {
// NewSignatureVoid builds the void signature "func()".
func NewSignatureVoid() *Signature {
return NewSignature(nil, types.NewSignature(nil, nil, nil, false))
return NewSignature(nil, types.NewSignatureType(nil, nil, nil, nil, nil, false))
}
// LookupSignature returns the signature of the named function in the provided package.