summaryrefslogtreecommitdiff
path: root/utils.go
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2018-10-26 13:25:45 +0200
committerNikolaus Gotsche <n@softwarefools.com>2018-10-26 13:25:45 +0200
commitd06db7af6014e8498672899218a05adf36ab1aa3 (patch)
tree1e960093c848ad166beb4a5125655e53b04066de /utils.go
parentab0058448abc0f51d0165c0278bdd4878a3f4d13 (diff)
Final Framing and Multichoice beatification
Diffstat (limited to 'utils.go')
-rw-r--r--utils.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils.go b/utils.go
index ec0802b..03ef940 100644
--- a/utils.go
+++ b/utils.go
@@ -220,7 +220,8 @@ func string2FloatArray(in string, delim string) (out []float64) {
return
}
-func string2StringArray(in string, delim string) (out []string) {
+// Takes a String and Cuts it into []string elements by delim
+func String2StringArray(in string, delim string) (out []string) {
read := strings.Split(in, delim)
for _, s := range read {
out = append(out, s)