diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-04 22:14:16 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-04 22:14:16 +0300 |
| commit | 2381c8712ebafa8060f0d2feacadd85bef280eb0 (patch) | |
| tree | 5132d2b105de91299d052b6a0b69e9b8c9ec7a38 /assets/testfiles | |
| parent | cb9a2b35216a1df783d9a8e9b901bcd32c958dbb (diff) | |
- Delete internal/file/content.go (duplicate implementation with different semantics).
- Refactor internal/file/file.go to use a File struct with options (WithContent, WithSource, WithMode, etc.).
- Update Have signature to accept variadic options instead of (path, param).
- Update tests to use new API.
- Update TODO.md to remove resolved blocker and reflect remaining features.
Diffstat (limited to 'assets/testfiles')
| -rw-r--r-- | assets/testfiles/test.tmpl | 2 | ||||
| -rw-r--r-- | assets/testfiles/test.txt | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/assets/testfiles/test.tmpl b/assets/testfiles/test.tmpl new file mode 100644 index 0000000..073e946 --- /dev/null +++ b/assets/testfiles/test.tmpl @@ -0,0 +1,2 @@ +Hello, {{.Param}}! +Welcome to {{.USER}}. diff --git a/assets/testfiles/test.txt b/assets/testfiles/test.txt new file mode 100644 index 0000000..88d12a3 --- /dev/null +++ b/assets/testfiles/test.txt @@ -0,0 +1 @@ +Simple source content. |
