exercism/xgo — pull request #108 by slester (2014-09-28 07:20:22+00:00)
Title: Comparing structs should use reflect.DeepEqual

This test fails with the current code, as it checks if two structs are equal by using the comparison operator == instead of using reflect's DeepEqual().

"DeepEqual tests for deep equality. It uses normal == equality where possible but will scan elements of arrays, slices, maps, and fields of structs. In maps, keys are compared with == but elements use deep equality. DeepEqual correctly handles recursive types. Functions are equal only if they are both nil. An empty slice is not equal to a nil slice."
http://golang.org/pkg/reflect/#DeepEqual