Hi! I'm using delay and getting an odd issue that happens only sometimes, the error message looks like this:
delay: failed decoding task payload: gob: name not registered for interface: "main68172.Object"
My theory is that gob is encoding my object (I think it should be hello.Object) as main68172.Object. This is problematic when tasks pass between different versions of the same module, but also (as I discovered today) even when they don't leave the module. I am assuming that there are different versions of my app being compiled behind the scenes or something like that.
Here is an example of the behavior:
I can see "main61029.Object" in the payload, which is very suspicious to me. One workaround is to put the struct inside of a different package from everything else, this seems to use the package name correctly judging from the payload string.
Does anyone know why this is happening? Is there a better workaround than putting things into other modules?