Open josharian opened 5 years ago
+1 to not waiting. A diff package in Go is useful today. Generics might be mainstream two years from now, and like you say, we're not even sure if they will help our API design.
With modules in place, it's always possible and easy to make a v2.
The README says that we're waiting for generics. This issue can serve as a place to discuss that, as the generic proposals roll in.
Unfortunately, the latest generic proposal (summer 2019) doesn't play nicely with the diff package. Quoting myself from some private correspondence with Ian:
So at least for the moment, I'm going to press forward with a non-generic version. We can re-evaluate if/when the next generics proposal draft arrives.