summaryrefslogtreecommitdiff
path: root/plugins.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2021-04-03 13:18:17 -0400
committerDave Henderson <dhenderson@gmail.com>2021-04-03 14:23:00 -0400
commitd334a3619a9897ff43b76b8f60fa1a0a41b9cbe9 (patch)
tree97f9fe27182604e41f08183fc42a2e4b4bded7ba /plugins.go
parent507d41ae8a2536584eb032c98abc46496a77ea86 (diff)
Update linting and fix field alignment issues
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'plugins.go')
-rw-r--r--plugins.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins.go b/plugins.go
index 789fca96..89309c0e 100644
--- a/plugins.go
+++ b/plugins.go
@@ -36,10 +36,10 @@ func bindPlugins(ctx context.Context, cfg *config.Config, funcMap template.FuncM
// plugin represents a custom function that binds to an external process to be executed
type plugin struct {
- name, path string
- timeout time.Duration
ctx context.Context
stderr io.Writer
+ name, path string
+ timeout time.Duration
}
// builds a command that's appropriate for running scripts