summaryrefslogtreecommitdiff
path: root/model/mod.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-22 22:06:24 +0200
committerewy <ewy0@protonmail.com>2026-04-22 22:06:24 +0200
commit1e8cedca4d03829fadd532e9c5980dbb0eeab4bb (patch)
tree90745c56ab9c3feec790ba001683a19f4e360eb8 /model/mod.go
parentd88661935fa2b6e2c0fe93345800113e1a71b451 (diff)
docs
Diffstat (limited to 'model/mod.go')
-rw-r--r--model/mod.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/model/mod.go b/model/mod.go
index 0a680b5..3f83bed 100644
--- a/model/mod.go
+++ b/model/mod.go
@@ -1,5 +1,8 @@
package model
+// Modder can change sources after their creation
+// this can add additional data, customization, etc.
+// these have to be registered in main.go
type Modder interface {
Mod(source *Source, result *HydratedSource) error
}