detached 6974549

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 {
9898
9999 // FavoriteTree represents a hierarchical view of folders and favorites.
100100 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
105105 ChildFavorites map[FolderID][]*Favorite // Favorites in each folder
106106 }
107107
@@ -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 []*Folder101+ RootFolders []*Folder
102- RootFavorites []*Favorite102+ RootFavorites []*Favorite
103- FolderMap map[FolderID]*Folder // Quick lookup103+ FolderMap map[FolderID]*Folder // Quick lookup
104- ChildFolders map[FolderID][]*Folder // Children of each folder104+ ChildFolders map[FolderID][]*Folder // Children of each folder
105 ChildFavorites map[FolderID][]*Favorite // Favorites in each folder105 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 {
3939 CreatedAt time.Time
4040
4141 // 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
4646 }
4747
4848 // NewPane creates a new pane with default values.
@@ -39,10 +39,10 @@ type Pane struct {
39 CreatedAt time.Time39 CreatedAt time.Time
40 40
41 // Popup-specific fields41 // Popup-specific fields
42- IsRelated bool // Shares context with parent42+ IsRelated bool // Shares context with parent
43- ParentPaneID *PaneID // Parent pane if this is a related popup43+ ParentPaneID *PaneID // Parent pane if this is a related popup
44- AutoClose bool // Auto-close on OAuth success44+ AutoClose bool // Auto-close on OAuth success
45- RequestID string // Request ID for popup tracking45+ 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.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close