Environment
go.mod
module test.com
go 1.21.4
use.gop
use.go
package main
import "test.com/def"
func _() {
n := &def.N{}
n.
}
def/overload.go
package def
const GopPackage = true
type N struct {
}
func (m *N) OnKey__0(a string, fn func()) {
}
func (m *N) OnKey__1(a string, fn func(key string)) {
}
func (m *N) OnKey__2(a []string, fn func()) {
}
func (m *N) OnKey__3(a []string, fn func(key string)) {
}