Jan Winkelmann
Jan Winkelmann
Let me know if I can help debugging!
From my recollection, the receiveLog is where all the message are actually stored. The publishLog is more or less a thin wrapper that takes a message content value, builds the...
What do you mean with mix arguments? I agree the logic around checking the arguments is messed up, but I don't get why you want to split them in an...
I think I start to get it. I'll be working on this once cmds2 is in.
Hey @dignifiedquire, I opened a PR that addresses part of what you stated: #99. However, your suggestion lacks the most tricky part of the problem: How does the Decoder know...
Actually, before I dash ahead, let me know if you want JSON that looks like this.
> use the one that doesn't fail Well, JSON decoding in Go rarely fails. It only fails if the JSON is invalid or if the types don't match, e.g. you...
Crazy idea: fork https://github.com/mailru/easyjson, which generates type-specific json marshaling and unmarshaling code, to include a type field in the generated json and make it check that field upon parsing. This...
Actually if we start generating code it's easy, we just need to build structs that wrap our types. To give an example, consider the (made up) message type `AddStatus`: ```go...
I agree that this would be preferable, but unfortunately I don't really know how to do that without either (a) initializing all nil slices to empty slices or (b) using...