feat: add mapping functions
This commit is contained in:
7
internal/author/model.go
Normal file
7
internal/author/model.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package author
|
||||
|
||||
type Author struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Bio string `json:"bio"`
|
||||
}
|
||||
Reference in New Issue
Block a user