From e90d4579ae107f89e20669781e4bf4834e6e6b9a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 3 Dec 2019 18:46:18 +0100 Subject: Add basic support for multiple recipients --- strconv.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'strconv.go') diff --git a/strconv.go b/strconv.go index b34241d..14c0c27 100644 --- a/strconv.go +++ b/strconv.go @@ -47,3 +47,11 @@ func parsePartPath(s string) ([]int, error) { } return path, nil } + +func parseAddressList(s string) []string { + l := strings.Split(s, ",") + for i, addr := range l { + l[i] = strings.TrimSpace(addr) + } + return l +} -- cgit v1.2.3-59-g8ed1b