diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-18 21:36:54 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-18 21:36:54 +0300 |
| commit | ee2cb360bfb6ab35cb8a373fd1237993cea168d0 (patch) | |
| tree | cb44f8ec411124f5aa18edc895e0a1860c680d69 /internal/entry | |
| parent | a98fbd68214b9d99c425fb073051da790b0b15d0 (diff) | |
initial work on editing a post
Diffstat (limited to 'internal/entry')
| -rw-r--r-- | internal/entry/entry.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/entry/entry.go b/internal/entry/entry.go index b8752e3..0132f38 100644 --- a/internal/entry/entry.go +++ b/internal/entry/entry.go @@ -80,6 +80,7 @@ func (e Entry) Content() (string, error) { return string(bytes), err } +// TODO: Optionally open editor when a content is too large. func (e Entry) ContentWithLimit(sizeLimit int) (string, error) { content, err := e.Content() if err != nil { |
