您需要指定输入参数后返回的内容,这不是python。
这个:
func Print(DATA []TD, include string, exclude []string, str string) {应该:
func Print(DATA []TD, include string, exclude []string, str string) string {推荐读物:
http://golang.org/doc/effective_go.html#multiple-returns
http://golang.org/doc/effective_go.html#named-results
甚至全部有效



