use sqlc for database queries
1 file changed, 27 insertions(+), 0 deletions(-)
changed files
A internal/storage/sqlite/db/models.go
@@ -0,0 +1,27 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.29.0 + +package db + +type Content struct { + ContentID int64 + FileID int64 + Encoding string + Body []byte +} + +type File struct { + FileID int64 + UrlID int64 + ContentType string + LastModified int64 + Title string + Etag string + StyleHash string +} + +type Url struct { + UrlID int64 + Path string +}