We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c51ab7 commit d7676d7Copy full SHA for d7676d7
model/user.go
@@ -11,5 +11,5 @@ type User struct {
11
Username string `json:"username"`
12
Email string `json:"email"`
13
CreatedAt time.Time `json:"created_at"`
14
- UpdatedAt time.Time `json:"updated_at"`
+ UpdatedAt *time.Time `json:"updated_at"`
15
}
repository/model/user.go
Username string `db:"username"`
Email string `db:"email"`
CreatedAt time.Time `db:"created_at"`
- UpdatedAt time.Time `db:"updated_at"`
+ UpdatedAt *time.Time `db:"updated_at"`
0 commit comments