A Tour of Go Exercise:Maps i 44
摘要:
Go 语言练习 A Tour of GoImplementWordCount. It should return a map of the counts of each “word” in the strings. Thewc.Testfunction runs a test suite against the provided function and prints success or failure.You might findstrings.Fieldshelpful. 1 package main 2 3 import ( 4 "tour/wc" 5 " 阅读全文
posted @ 2012-04-28 23:33 Spray 阅读(247) 评论(0) 推荐(0) 编辑