summaryrefslogtreecommitdiff
path: root/internal/types
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-12 10:45:04 +0300
committerPaul Buetow <paul@buetow.org>2024-08-12 10:45:04 +0300
commit2fb3cfbe72170fb44a5056271f051806af09cc09 (patch)
tree926b240222be3451fae73ac90afd8f441612be3a /internal/types
parentb79de37224b40374cd0bc17881b3677138c44935 (diff)
rename
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 fd1e12a..73ef0d2 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) Serialize() ([]byte, error) {
+func (e Entry) JSONBytes() ([]byte, error) {
return json.Marshal(e)
}