Still a beginner ... first take at a bit more difficult thing.

I cannot get this https://play.golang.org/p/qgBLH0r_vq to work.

Compiler says:
cannot use courses (type []Course) as type sort.Interface in argument to
        []Course does not implement sort.Interface (missing Len method)

However, I thought I need the Len method for []Courses instead of []Course!

Pleas help.


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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to