From a45a1bd404da9b79df3f97268ae363430638db53 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 31 Jan 2022 13:01:24 +0100 Subject: issues: simplify ascii package --- issues/simplify-ascii-pkg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 issues/simplify-ascii-pkg diff --git a/issues/simplify-ascii-pkg b/issues/simplify-ascii-pkg new file mode 100644 index 0000000..db61a4d --- /dev/null +++ b/issues/simplify-ascii-pkg @@ -0,0 +1,10 @@ +The current ASCII package implements general key-value parsing for types. It +is more complicated than it needs to be, especially since we have so few types. + +Consider replacing the general ASCII package with something simpler. For +example, just parse values into + + type Map map[string][]string + +and add methods to dequeue a value for a key. Each type could then extract its +own values without too much code duplication. -- cgit v1.2.3