From 8240584340dcdcc4060bf66f79574de80fcd0f99 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 29 Jan 2019 14:34:38 +0100 Subject: [PATCH] minmod --- internal/transform/registry.go | 2 +- internal/transform/{replacer.go => transformer.go} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename internal/transform/{replacer.go => transformer.go} (100%) diff --git a/internal/transform/registry.go b/internal/transform/registry.go index 272c877..6b5381b 100644 --- a/internal/transform/registry.go +++ b/internal/transform/registry.go @@ -19,7 +19,7 @@ func (r *Registry) Transform(input string) (string, error) { // execute each transformer by order for _, t := range r.Transformers { - // 1. execute ; dispatch error on failure + // 1. execute ; dispatch error on failure out, err := execute(t, in) if err != nil { return "", err diff --git a/internal/transform/replacer.go b/internal/transform/transformer.go similarity index 100% rename from internal/transform/replacer.go rename to internal/transform/transformer.go