Refactoring Posts #37

Closed
h4kor wants to merge 0 commits from refactor_posts into main
h4kor commented 4 months ago
Owner
There is no content yet.
h4kor added 1 commit 4 months ago
h4kor added 1 commit 4 months ago
h4kor added 1 commit 4 months ago
Poster
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 4 months ago
h4kor added 1 commit 4 months ago
h4kor added 1 commit 3 months ago
Poster
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 3 months ago
Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: h4kor/owl-blogs#37
Loading…
There is no content yet.