all repos — homestead @ 52549c0ea610306039e1f3f91c89e05ba4f41e72

Code for my website

use sqlc for database queries

Alan Pearce
commit

52549c0ea610306039e1f3f91c89e05ba4f41e72

parent

3fc8094d18e9d0be354492e0b3a3aca11ae1a1d6

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 +}