feat: move db gen out, emit json field

This commit is contained in:
Justin Lin
2025-08-26 20:58:39 +10:00
parent e770b31402
commit 7ced3985b1
15 changed files with 63 additions and 90 deletions

View File

@@ -1,7 +1,7 @@
package author
type Author struct {
ID int64 `json:"id"`
Name string `json:"name"`
Bio string `json:"bio"`
ID int64 `json:"id"`
Name string `json:"name"`
Bio *string `json:"bio"`
}