refactor: rename db module to data for clarity

This commit is contained in:
ae 2025-03-31 13:33:27 +03:00
parent 9ba182d925
commit 41d1336f58
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E
7 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@
// versions:
// sqlc v1.28.0
package db
package data
import (
"context"

View File

@ -2,7 +2,7 @@
// versions:
// sqlc v1.28.0
package db
package data
import (
"time"

View File

@ -3,7 +3,7 @@
// sqlc v1.28.0
// source: note_versions.sql
package db
package data
import (
"context"

View File

@ -3,7 +3,7 @@
// sqlc v1.28.0
// source: notes.sql
package db
package data
import (
"context"

View File

@ -3,7 +3,7 @@
// sqlc v1.28.0
// source: refresh_tokens.sql
package db
package data
import (
"context"

View File

@ -3,7 +3,7 @@
// sqlc v1.28.0
// source: users.sql
package db
package data
import (
"context"

View File

@ -6,8 +6,8 @@ sql:
schema: "./migrations/"
gen:
go:
package: "db"
out: "../pkg/db"
package: "data"
out: "../pkg/data"
sql_package: "pgx/v5"
emit_json_tags: true
overrides: