After panic or signal or some other problem, one gets stack traces for each
In these stack traces one can see function calls with arguments, e.g.:
0x55e581f500000001, 0x55e5c974, 0x55e581f50036fd63, 0x4730c877427c180b,
0x55e57e03, 0xc1b64e8ac22d3e1d, 0x0, 0x0)
We can see 9 arguments here, but in a go file, function QueueItemRemove()
have only one argument which is a structure.
Where can I read about how to map arguments from stack trace to arguments
in go file?
There are some rules I fugured myself already:
1. First argument is usually a 'self' argument with pointer to the object
2. If you pass struct by value, then this struct can be unfolded as we
see in an example
3. If you pass 32bit values then two 32bit values can be merged into one
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.