Sign in
go
/
tour
/
c7374255f627de1d833c24ab73b75f6e7c25ef75
/
.
/
prog
/
exercise-maps.go
blob: 4234fe4f93ec5142922bdbe5115996604cdbaf3a [
file
] [
log
] [
blame
]
Andrew Gerrand
6cf2ff0
2013-01-23 17:39:23 +1100
[
diff
] [
blame
]
1
package main
2
3
import (
4
"code.google.com/p/go-tour/wc"
5
)
6
7
func WordCount(s string) map[string]int {
8
return map[string]int{"x": 1}
9
}
10
11
func main() {
12
wc.Test(WordCount)
13
}