Hi, please take a look <https://go.dev/play/p/aKekf6a4VRh>.
The aim is to write a HaveLess constraint that will work with any type like Large, without any reflection / traditional interfaces / dictionaries etc., just plain method calls. How would you write this? Keep in mind that type Large is large :) -- 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 on the web visit https://groups.google.com/d/msgid/golang-nuts/e79c4f92-4508-4ecd-ab32-c47b2d679f78n%40googlegroups.com.