summaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-07-05 10:28:26 +0300
committerPaul Buetow <paul@buetow.org>2026-07-05 10:28:26 +0300
commit7fdcb5ed7639508e05c9a3851704cf1de9f4476a (patch)
tree816f26ea806f5656469216e3c592d059cb2f7027 /TODO.md
parentfc0ce6f1918c4603254091d9fe77785996b56411 (diff)
make options pattern more generic with dot imports a bit less boilerplate for the user
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md19
1 files changed, 0 insertions, 19 deletions
diff --git a/TODO.md b/TODO.md
index 807ebe6..33a5e9a 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,22 +1,3 @@
-## More ideas:
-
-Dont have to write:
-
-file.Have("file.txt", file.WithOwner("paul"))
-
-instead, have:
-
-file.Have("file.txt", WithOwner("paul"))
-
-and have all With... methods in a separate package which we import directly with *.
-
-for this, we need to make the With... functions more generic, based on interfaces and we have here for example
-
-type Owner interface {
- SetOwner(owner string)
-}
-
-and if there is no interface match, error!
# TODO — Features needed to replace the dotfiles Rexfile
This document lists the features `gonf` needs before it can replace the