Skip to content

Refactor reflect.DeepEqual to slices.Equal from the standard lib #721

@konsalex

Description

@konsalex

Hey folks,

Would it make sense to add also the new way to compare slices in this chapter: https://quii.gitbook.io/learn-go-with-tests/go-fundamentals/arrays-and-slices#write-enough-code-to-make-it-pass-4

So instead of using reflect.DeepEqual to use slices.Equal.

I could make a contribution to add this

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions