You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since interfaces aren't covered until the next chapter and the example code differs from the documentation, it wasn't clear if this was intentional or not.
The text was updated successfully, but these errors were encountered:
Love the series, thanks for taking the time to make it.
In this refactor: https://github.com/quii/learn-go-with-tests/blob/main/arrays/v7/sum_test.go
The expected parameter is the interface type, whereas all versions in the code repo use a pointer to type T:
Since interfaces aren't covered until the next chapter and the example code differs from the documentation, it wasn't clear if this was intentional or not.
The text was updated successfully, but these errors were encountered: