aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/templates.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/templates.go b/models/templates.go
index ae57c3fb..eb696ccc 100644
--- a/models/templates.go
+++ b/models/templates.go
@@ -51,9 +51,11 @@ type TemplateData interface {
PendingKeys() string
Style(string, string) string
StyleSwitch(string, ...Case) string
+ StyleMap([]string, ...Case) []string
}
type Case interface {
Matches(string) bool
Value() string
+ Skip() bool
}