diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-11 13:47:28 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-11-11 13:47:28 +0000 |
commit | 26b0e937d398ce4c4f7208a2393cf0d3d4a4c7c6 (patch) | |
tree | 63e5f4510357d4e853e5d0a01412a8b827c0c6f1 /reader/reader.go | |
parent | bece959199edef560b7e180044dd2b04a2dba52e (diff) |
added a doc string thing
Diffstat (limited to '')
-rw-r--r-- | reader/reader.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/reader/reader.go b/reader/reader.go index 54ec2cc..751832b 100644 --- a/reader/reader.go +++ b/reader/reader.go @@ -39,6 +39,8 @@ func Keylens(dml DatamapLine) (int, int) { return len(dml.Key), len(dml.Sheet) } +// sheetInSlice is a helper which returns true +// if a string is in a slice of strings func sheetInSlice(list []string, key string) bool { for _, x := range list { if x == key { |