feat: move db gen out, emit json field
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user