style(entity): format struct field alignment
- commit
- 6974549fca8fdd7526453b9c24422c9bcd7cd47a
- author
- brice · · 2025-12-09 17:44 UTC
- committer
- brice · · 2025-12-09 21:23 UTC
- parent
- 137ce9c
- signature
- unsigned
2 files · +8 -8
M internal/domain/entity/favorite.go +4 -4
| @@ -98,10 +98,10 @@ func NewTag(name string) *Tag { | |||
| 98 | 98 | ||
| 99 | 99 | // FavoriteTree represents a hierarchical view of folders and favorites. | |
| 100 | 100 | type FavoriteTree struct { | |
| 101 | - | RootFolders []*Folder | |
| 102 | - | RootFavorites []*Favorite | |
| 103 | - | FolderMap map[FolderID]*Folder // Quick lookup | |
| 104 | - | ChildFolders map[FolderID][]*Folder // Children of each folder | |
| 101 | + | RootFolders []*Folder | |
| 102 | + | RootFavorites []*Favorite | |
| 103 | + | FolderMap map[FolderID]*Folder // Quick lookup | |
| 104 | + | ChildFolders map[FolderID][]*Folder // Children of each folder | |
| 105 | 105 | ChildFavorites map[FolderID][]*Favorite // Favorites in each folder | |
| 106 | 106 | } | |
| 107 | 107 | ||
| @@ -98,10 +98,10 @@ func NewTag(name string) *Tag { | |||||
| 98 | 98 | ||||
| 99 | // FavoriteTree represents a hierarchical view of folders and favorites. | 99 | // FavoriteTree represents a hierarchical view of folders and favorites. | ||
| 100 | type FavoriteTree struct { | 100 | type FavoriteTree struct { | ||
| 101 | - | RootFolders []*Folder | 101 | + | RootFolders []*Folder |
| 102 | - | RootFavorites []*Favorite | 102 | + | RootFavorites []*Favorite |
| 103 | - | FolderMap map[FolderID]*Folder // Quick lookup | 103 | + | FolderMap map[FolderID]*Folder // Quick lookup |
| 104 | - | ChildFolders map[FolderID][]*Folder // Children of each folder | 104 | + | ChildFolders map[FolderID][]*Folder // Children of each folder |
| 105 | ChildFavorites map[FolderID][]*Favorite // Favorites in each folder | 105 | ChildFavorites map[FolderID][]*Favorite // Favorites in each folder | ||
| 106 | } | 106 | } | ||
| 107 | 107 | ||||
M internal/domain/entity/pane.go +4 -4
| @@ -39,10 +39,10 @@ type Pane struct { | |||
| 39 | 39 | CreatedAt time.Time | |
| 40 | 40 | ||
| 41 | 41 | // Popup-specific fields | |
| 42 | - | IsRelated bool // Shares context with parent | |
| 43 | - | ParentPaneID *PaneID // Parent pane if this is a related popup | |
| 44 | - | AutoClose bool // Auto-close on OAuth success | |
| 45 | - | RequestID string // Request ID for popup tracking | |
| 42 | + | IsRelated bool // Shares context with parent | |
| 43 | + | ParentPaneID *PaneID // Parent pane if this is a related popup | |
| 44 | + | AutoClose bool // Auto-close on OAuth success | |
| 45 | + | RequestID string // Request ID for popup tracking | |
| 46 | 46 | } | |
| 47 | 47 | ||
| 48 | 48 | // NewPane creates a new pane with default values. | |
| @@ -39,10 +39,10 @@ type Pane struct { | |||||
| 39 | CreatedAt time.Time | 39 | CreatedAt time.Time | ||
| 40 | 40 | ||||
| 41 | // Popup-specific fields | 41 | // Popup-specific fields | ||
| 42 | - | IsRelated bool // Shares context with parent | 42 | + | IsRelated bool // Shares context with parent |
| 43 | - | ParentPaneID *PaneID // Parent pane if this is a related popup | 43 | + | ParentPaneID *PaneID // Parent pane if this is a related popup |
| 44 | - | AutoClose bool // Auto-close on OAuth success | 44 | + | AutoClose bool // Auto-close on OAuth success |
| 45 | - | RequestID string // Request ID for popup tracking | 45 | + | RequestID string // Request ID for popup tracking |
| 46 | } | 46 | } | ||
| 47 | 47 | ||||
| 48 | // NewPane creates a new pane with default values. | 48 | // NewPane creates a new pane with default values. | ||