Say I have this:
type Handler struct{}
func helper(f func()){
f() // calls h.Mount() or just Mount() w/o reference to h?
}
func (h Handler) Mount() {}
func init(){
h:=Handler{}
helper(h.Mount)
}
when the helper func receives h.Mount (a func), can it call it directly, or does it need a reference to the handler h, to call it properly? This compiles and runs as is so idk.