Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateSize ¶
CalculateSize calculates the size of the given value `v`. This function cannot panic as it will recover and log the stack trace using the provided logger `l` whenever a panic occurs.
Parameters:
- l: A logger instance used for logging stack traces in case of a panic.
- v: The value whose size is to be calculated.
Returns:
The size of the given value `v` as an integer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.