summaryrefslogtreecommitdiff
path: root/go/word-count/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'go/word-count/README.md')
-rw-r--r--go/word-count/README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/go/word-count/README.md b/go/word-count/README.md
new file mode 100644
index 0000000..1f11b58
--- /dev/null
+++ b/go/word-count/README.md
@@ -0,0 +1,31 @@
+# Word Count
+
+Write a program that given a phrase can count the occurrences of each word in that phrase.
+
+For example for the input `"olly olly in come free"`
+
+```plain
+olly: 2
+in: 1
+come: 1
+free: 1
+```
+
+
+To run the tests simply run the command `go test` in the exercise directory.
+
+If the test suite contains benchmarks, you can run these with the `-bench`
+flag:
+
+ go test -bench .
+
+For more detailed info about the Go track see the [help
+page](http://exercism.io/languages/go).
+
+## Source
+
+This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour.
+
+## Submitting Incomplete Problems
+It's possible to submit an incomplete solution so you can see how others have completed the exercise.
+