Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
tour of go の例題
package main
import (
func WordCount(s string) map[string]int {
result := make(map[string]int)
target := strings.Split(s," ")
for _, v := range target {
return result
func main() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment