On Wed, Feb 12, 2025 at 11:34 PM David Karr <davidmichaelk...@gmail.com> wrote: > > Ok, good to know. How do I solve this problem? It almost looks like I have to > create a slice of the generic type and iterate through the entries in the > commitsCache result, doing a type conversion of every entry.
I don't know what problem your code tries to solve. Anyway, a simplified, possibly unusable example : https://go.dev/play/p/NTngATo1lIU -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAA40n-UgFAto-_J-n_-voY%3De1%2BMccAALrOktPPOObaJotTNp6A%40mail.gmail.com.