How can I avoid implicit cast in Go?
for example:
type runner interface {
run()
}
type person struct {
}
type program struct {
}
func (p person) run() {}
func (p program) run() {}
If my intention of runner is only for person, not a program? as you know, both person and program implements(satisfy) the runner interface.