summaryrefslogtreecommitdiff
path: root/cmd/planr/sub/evaluate.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 18:13:49 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 18:13:49 -0500
commit38912d85394604fe9cc238ef6eb9f6e75ceb38f9 (patch)
tree861fc3af5d44ef8fbad738638f498c6e63bd1747 /cmd/planr/sub/evaluate.go
parentaff7b69cab2ac1d09b47f28c6fa653febd8595ea (diff)
downloaddeb-planr-38912d85394604fe9cc238ef6eb9f6e75ceb38f9.tar.xz
deb-planr-38912d85394604fe9cc238ef6eb9f6e75ceb38f9.zip
Add config command to retrieve configuration values and clean command to clean build files
Diffstat (limited to 'cmd/planr/sub/evaluate.go')
-rw-r--r--cmd/planr/sub/evaluate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/planr/sub/evaluate.go b/cmd/planr/sub/evaluate.go
index d183b86..79d377e 100644
--- a/cmd/planr/sub/evaluate.go
+++ b/cmd/planr/sub/evaluate.go
@@ -4,8 +4,8 @@ import (
"golang.flu0r1ne.net/planr"
)
-func Evaluate(params []string) {
- tcs := Runner().Evaluate()
+func Evaluate(runner planr.Runner, params []string) {
+ tcs := runner.Evaluate()
earned := 0.0
total := 0.0