On Thu, Aug 8, 2024 at 9:35 PM 'lijh8' via golang-nuts <golang-nuts@googlegroups.com> wrote:
> I try to use slice of any to imitate the tuple type, > and use this function to compare two slices: a, b. > > How can I improve it? Take a look at https://pkg.go.dev/slices#Compare if it can fit your use case. -- 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/CAA40n-WNuMfS1auXeSQVwVBuftg_gwdP0orQ8Rwf3v7XS4TtWg%40mail.gmail.com.