Running len on an embedded map is returning 0 #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a proc returns a struct with an embedded map, such as:
and SubThings has value, running a
len
on that will return 0, instead of the actual length.