Refactoring Posts #37

Closed
h4kor wants to merge 0 commits from refactor_posts into main
Owner
No description provided.
h4kor added 1 commit 2022-12-05 18:52:18 +00:00
h4kor added 1 commit 2022-12-05 19:31:50 +00:00
h4kor added 1 commit 2022-12-05 19:47:55 +00:00
Author
Owner
  • I would like to move the type specific data (e.g. BookmarkData) from the general PostMeta into the specific type.
  • Webmentions have a huge interface surface. Should be smaller (2-3 function?)
  • All Filesystem/Url related stuff should be of no concern to the Post itself!?
* I would like to move the type specific data (e.g. `BookmarkData`) from the general `PostMeta` into the specific type. * Webmentions have a huge interface surface. Should be smaller (2-3 function?) * All Filesystem/Url related stuff should be of no concern to the Post itself!?
h4kor added 1 commit 2022-12-05 20:09:25 +00:00
h4kor added 1 commit 2022-12-05 20:23:47 +00:00
h4kor added 1 commit 2022-12-15 18:23:33 +00:00
Author
Owner

Gave up on own structs for each type of post for now, because I can't find an elegant way to do this in go. I would like to have inherited types, but this is not the go way.

Gave up on own structs for each type of post for now, because I can't find an elegant way to do this in go. I would like to have inherited types, but this is not the go way.
h4kor closed this pull request 2022-12-16 07:11:36 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: h4kor/owl-blogs#37
No description provided.