v0.20.1 d9a391f

models.go RawHistoryFolder

1// Code generated by sqlc. DO NOT EDIT.
2// versions:
3//   sqlc v1.30.0
4
5package sqlc
6
7import (
8	"database/sql"
9	"time"
10)
11
12type ContentWhitelist struct {
13	ID        int64        `json:"id"`
14	Domain    string       `json:"domain"`
15	CreatedAt sql.NullTime `json:"created_at"`
16}
17
18type Favorite struct {
19	ID          int64          `json:"id"`
20	Url         string         `json:"url"`
21	Title       sql.NullString `json:"title"`
22	FaviconUrl  sql.NullString `json:"favicon_url"`
23	FolderID    sql.NullInt64  `json:"folder_id"`
24	ShortcutKey sql.NullInt64  `json:"shortcut_key"`
25	Position    int64          `json:"position"`
26	CreatedAt   sql.NullTime   `json:"created_at"`
27	UpdatedAt   sql.NullTime   `json:"updated_at"`
28}
29
30type FavoriteFolder struct {
31	ID        int64          `json:"id"`
32	Name      string         `json:"name"`
33	Icon      sql.NullString `json:"icon"`
34	ParentID  sql.NullInt64  `json:"parent_id"`
35	Position  int64          `json:"position"`
36	CreatedAt sql.NullTime   `json:"created_at"`
37}
38
39type FavoriteTag struct {
40	ID        int64        `json:"id"`
41	Name      string       `json:"name"`
42	Color     string       `json:"color"`
43	CreatedAt sql.NullTime `json:"created_at"`
44}
45
46type FavoriteTagAssignment struct {
47	FavoriteID int64 `json:"favorite_id"`
48	TagID      int64 `json:"tag_id"`
49}
50
51type History struct {
52	ID          int64          `json:"id"`
53	Url         string         `json:"url"`
54	Title       sql.NullString `json:"title"`
55	FaviconUrl  sql.NullString `json:"favicon_url"`
56	VisitCount  sql.NullInt64  `json:"visit_count"`
57	LastVisited sql.NullTime   `json:"last_visited"`
58	CreatedAt   sql.NullTime   `json:"created_at"`
59}
60
61type HistoryFt struct {
62	Url   string `json:"url"`
63	Title string `json:"title"`
64}
65
66type Session struct {
67	ID        string       `json:"id"`
68	Type      string       `json:"type"`
69	StartedAt time.Time    `json:"started_at"`
70	EndedAt   sql.NullTime `json:"ended_at"`
71}
72
73type ZoomLevel struct {
74	Domain     string       `json:"domain"`
75	ZoomFactor float64      `json:"zoom_factor"`
76	UpdatedAt  sql.NullTime `json:"updated_at"`
77}

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