diff --git a/beam/data/data.go b/beam/data/data.go index 15c302e..cf0cb7c 100644 --- a/beam/data/data.go +++ b/beam/data/data.go @@ -23,6 +23,8 @@ func encodeString(s string) string { return fmt.Sprintf("%d:%s,", len(s), s) } +var EncodeString = encodeString + func encodeList(l []string) string { values := make([]string, 0, len(l)) for _, s := range l {