feat: added go-automapper for mapping dtos;

feat: implemented mapspecial package for mapping dtos that are not possible to automap by default;
initialized profile service;
added dtos for profile and profileSettings
This commit is contained in:
2025-07-19 11:44:15 +03:00
parent 6f7d8bf244
commit fc0c73aa5b
9 changed files with 195 additions and 30 deletions

View File

@@ -53,13 +53,13 @@ type Profile struct {
type ProfileSetting struct {
ID int64
ProfileID int64
HideFulfilled *bool
HideProfileDetails *bool
HideForUnauthenticated *bool
HideBirthday *bool
HideDates *bool
Captcha *bool
FollowersOnlyInteraction *bool
HideFulfilled bool
HideProfileDetails bool
HideForUnauthenticated bool
HideBirthday bool
HideDates bool
Captcha bool
FollowersOnlyInteraction bool
}
type Session struct {