summaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-22 17:09:06 +0200
committerewy <ewy0@protonmail.com>2026-04-22 17:09:06 +0200
commit615889e00e744f76a8e4e1bade2367bde8598878 (patch)
tree7eee15a91138426b9d9691b6af8456d98442e1d4 /model
parentc09ad2afa420b0e4a558bf05a0672d5f9785d3ad (diff)
add "invocation" method which expects a target to output its own magic spell
Diffstat (limited to 'model')
-rw-r--r--model/target.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/target.go b/model/target.go
index 5be97ed..b503381 100644
--- a/model/target.go
+++ b/model/target.go
@@ -13,6 +13,7 @@ type Target interface {
Tags() Tags
ShortestId() string
Visible() bool
+ Invocation(src *Source) []string
}
type HydratedTarget interface {