Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid skipping a storage due to identical string representations
fmt.Sprintf("%v", thing) will use a fmt.Stringer implementation in thing, which means that we cannot easily assume that this value is going to be unique here and can be used to deduplicate the storages. Instead: Use a `map[interface{}]struct{}` as we anyways have an interface, and interfaces are perfectly fine map keys.
- Loading branch information