tape.TagAny should be using reflection #10
Loading…
x
Reference in New Issue
Block a user
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?
Using a type switch is unacceptable because we need to match underlying types.
We should have a private
tagAny
that takes in a reflect.Value, and a publicTagAny
with the current interface. That way, the API can be normal, but the internal functions can directly pass the reflect.Value without it having to be re-created.