Do I have to implement my own []Foo type with all three methods as described in the sort package?
That is one of the reasons go has a guiding design principle that interfaces should be as small as possible.
Do I have to implement my own []Foo type with all three methods as described in the sort package?