import core struct Struct { func *any } main() { s := new(Struct) s.func = core.exit s.func() }