diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-05 10:28:26 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-05 10:28:26 +0300 |
| commit | 7fdcb5ed7639508e05c9a3851704cf1de9f4476a (patch) | |
| tree | 816f26ea806f5656469216e3c592d059cb2f7027 /TODO.md | |
| parent | fc0ce6f1918c4603254091d9fe77785996b56411 (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.md | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -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 |
