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!?
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.
BookmarkData
) from the generalPostMeta
into the specific type.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.