Reposted 1153.

Strategy pattern in Go

rednafi.com/go/strategy_pattern