diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-05-02 22:25:54 -0700 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2019-05-02 22:28:30 -0700 |
| commit | 2be2c1168085e0234a0cf06dab93b6d763bf3f7d (patch) | |
| tree | 8debeb071f9f246785817c97480edceaba1f4cd5 /gomplate.go | |
| parent | b65e14e1fda1c005a07ec9b98e746ce3d699521a (diff) | |
Linting more (and fixing more)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'gomplate.go')
| -rw-r--r-- | gomplate.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gomplate.go b/gomplate.go index 4f7ef146..6d9a30e8 100644 --- a/gomplate.go +++ b/gomplate.go @@ -32,6 +32,7 @@ func (g *gomplate) runTemplate(t *tplate) error { return err } + // nolint: gocritic switch t.target.(type) { case io.Closer: if t.target != os.Stdout { @@ -179,6 +180,7 @@ func mappingNamer(outMap string, g *gomplate) func(string) (string, error) { return "", err } ctx := &context{} + // nolint: gocritic switch c := g.context.(type) { case *context: for k, v := range *c { |
