all: require go 1.18 (#379)
Require Go 1.18 in module file. Resolve related lint issues.
This commit is contained in:
committed by
GitHub
parent
4e72ca720b
commit
759be3dad9
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user