fix(models): fix person model
This commit is contained in:
parent
9425c6af85
commit
889d01f9d0
@ -8,7 +8,7 @@ import (
|
|||||||
type Person struct {
|
type Person struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Birthdate time.Time `json:"birthdate"`
|
Birthdate sql.NullTime `json:"birthdate"`
|
||||||
Deathdate sql.NullTime `json:"deathdate"`
|
Deathdate sql.NullTime `json:"deathdate"`
|
||||||
Info sql.NullString `json:"info"`
|
Info sql.NullString `json:"info"`
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user