detached d8668b9

chore(config): update SQLite and SQLC configuration with dependency updates

commit
d8668b988a393080f33341415762bc18d12fbb94
author
bnema · · 2025-12-09 21:32 UTC
parent
d088d27
signature
unsigned
3 files · +65 -11
M go.mod +13 -3
@@ -2,12 +2,22 @@ module github.com/bnema/dumber
22
33 go 1.25.3
44
5-require github.com/rs/zerolog v1.33.0
5+require (
6+ github.com/ncruces/go-sqlite3 v0.30.3
7+ github.com/pressly/goose/v3 v3.26.0
8+ github.com/rs/zerolog v1.33.0
9+)
610
711 require (
812 github.com/mattn/go-colorable v0.1.13 // indirect
9- github.com/mattn/go-isatty v0.0.19 // indirect
10- golang.org/x/sys v0.36.0 // indirect
13+ github.com/mattn/go-isatty v0.0.20 // indirect
14+ github.com/mfridman/interpolate v0.0.2 // indirect
15+ github.com/ncruces/julianday v1.0.0 // indirect
16+ github.com/sethvargo/go-retry v0.3.0 // indirect
17+ github.com/tetratelabs/wazero v1.10.1 // indirect
18+ go.uber.org/multierr v1.11.0 // indirect
19+ golang.org/x/sync v0.18.0 // indirect
20+ golang.org/x/sys v0.38.0 // indirect
1121 )
1222
1323 replace (
@@ -2,12 +2,22 @@ module github.com/bnema/dumber
2 2
3 go 1.25.33 go 1.25.3
4 4
5-require github.com/rs/zerolog v1.33.05+require (
6+ github.com/ncruces/go-sqlite3 v0.30.3
7+ github.com/pressly/goose/v3 v3.26.0
8+ github.com/rs/zerolog v1.33.0
9+)
6 10
7 require (11 require (
8 github.com/mattn/go-colorable v0.1.13 // indirect12 github.com/mattn/go-colorable v0.1.13 // indirect
9- github.com/mattn/go-isatty v0.0.19 // indirect13+ github.com/mattn/go-isatty v0.0.20 // indirect
10- golang.org/x/sys v0.36.0 // indirect14+ github.com/mfridman/interpolate v0.0.2 // indirect
15+ github.com/ncruces/julianday v1.0.0 // indirect
16+ github.com/sethvargo/go-retry v0.3.0 // indirect
17+ github.com/tetratelabs/wazero v1.10.1 // indirect
18+ go.uber.org/multierr v1.11.0 // indirect
19+ golang.org/x/sync v0.18.0 // indirect
20+ golang.org/x/sys v0.38.0 // indirect
11 )21 )
12 22
13 replace (23 replace (
M go.sum +48 -3 generated file: collapsed
M sqlc.yaml +4 -5
@@ -1,15 +1,14 @@
11 version: "2"
22 sql:
33 - engine: "sqlite"
4- queries: "./internal/db/queries/"
5- schema: "./internal/migrations/"
4+ queries: "./internal/infrastructure/persistence/sqlite/queries/"
5+ schema: "./internal/infrastructure/persistence/sqlite/migrations/"
66 gen:
77 go:
8- package: "db"
9- out: "./internal/db"
8+ package: "sqlc"
9+ out: "./internal/infrastructure/persistence/sqlite/sqlc"
1010 sql_package: "database/sql"
1111 emit_json_tags: true
1212 emit_empty_slices: true
1313 emit_exported_queries: true
1414 emit_interface: true
15- query_parameter_limit: 5⏎̸
@@ -1,15 +1,14 @@
1 version: "2"1 version: "2"
2 sql:2 sql:
3 - engine: "sqlite"3 - engine: "sqlite"
4- queries: "./internal/db/queries/"4+ queries: "./internal/infrastructure/persistence/sqlite/queries/"
5- schema: "./internal/migrations/"5+ schema: "./internal/infrastructure/persistence/sqlite/migrations/"
6 gen:6 gen:
7 go:7 go:
8- package: "db"8+ package: "sqlc"
9- out: "./internal/db"9+ out: "./internal/infrastructure/persistence/sqlite/sqlc"
10 sql_package: "database/sql"10 sql_package: "database/sql"
11 emit_json_tags: true11 emit_json_tags: true
12 emit_empty_slices: true12 emit_empty_slices: true
13 emit_exported_queries: true13 emit_exported_queries: true
14 emit_interface: true14 emit_interface: true
15- query_parameter_limit: 5⏎̸

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