ch3.5
This commit is contained in:
@@ -7,7 +7,7 @@ type Movie struct {
|
||||
CreatedAt time.Time `json:"-"`
|
||||
Title string `json:"title"`
|
||||
Year int32 `json:"year,omitempty"`
|
||||
Runtime int32 `json:"runtime,omitempty,string"`
|
||||
Runtime Runtime `json:"runtime,omitempty"`
|
||||
Genres []string `json:"genres,omitempty"`
|
||||
Version int32 `json:"version"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user