In practice, returning an interface from a constructor is almost never The Right Thing To Do. Off the top of my head, the only two good examples in the stdlib are: - net.Dial/net.Listen (since they can use either TCP or UDP) - Helpers in io that just wrap other Readers/Writers
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.