Golang Duck Typing sample, refer to http://floss.zoomquiet.io/data/20120904000006/index.html