Example of Go generics used in my db tool, Bobb. The problem case is converting db record struct types to slice of bytes, byte, and back to the original struct type in a generic way. Working with single records is simple, but slices and maps of records are more complex problems. I may be overlooking simpler solutions that seemed to evade me.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.