summaryrefslogtreecommitdiff
path: root/internal/types
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-12 10:46:08 +0300
committerPaul Buetow <paul@buetow.org>2024-08-12 10:46:08 +0300
commit5a1bbe942e726113c00fbf8d49f5e5667220b107 (patch)
treea5ee1ad6a84f57c91f32492bff82f3d274eedf73 /internal/types
parent2fb3cfbe72170fb44a5056271f051806af09cc09 (diff)
rename again
Diffstat (limited to 'internal/types')
-rw-r--r--internal/types/entry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/types/entry.go b/internal/types/entry.go
index 73ef0d2..5dec916 100644
--- a/internal/types/entry.go
+++ b/internal/types/entry.go
@@ -157,7 +157,7 @@ func (e Entry) Update(other Entry) (Entry, error) {
return e, nil
}
-func (e Entry) JSONBytes() ([]byte, error) {
+func (e Entry) JSONMarshal() ([]byte, error) {
return json.Marshal(e)
}