summaryrefslogtreecommitdiff
path: root/adapters.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-04 15:38:30 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-04 15:38:30 -0500
commitcc7ba659adbc5ad55e1ce67f76952f2b8392c9c9 (patch)
tree2df3f62bd4dcda45732b0955f2797596f0ae5743 /adapters.go
parentb3252d2bd488b5b58cf0e46151ff9db0721c5fc6 (diff)
downloaddeb-planr-cc7ba659adbc5ad55e1ce67f76952f2b8392c9c9.tar.xz
deb-planr-cc7ba659adbc5ad55e1ce67f76952f2b8392c9c9.zip
Refactor build/eval pipeline to use clearer IO model and adapter segmentation methods
Diffstat (limited to 'adapters.go')
-rw-r--r--adapters.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/adapters.go b/adapters.go
index f4e53ce..b7c4b27 100644
--- a/adapters.go
+++ b/adapters.go
@@ -14,10 +14,10 @@ type Adapter interface {
Init(dirs DirConfig)
// Called once to preform expensive code generation
- Build(testCase []*TestCase)
+ Build(testCase []TestCase)
// Called every time source changes
- Evaluate(testCase []*TestCase)
+ Evaluate(testCase []TestCase) []TestCase
}
// A parser function takes a blob of TOML and decodes it into