mirror of
https://github.com/kataras/iris.git
synced 2025-01-26 03:56:34 +01:00
49ee8f2d75
Former-commit-id: 6a3579f2500fc715d7dc606478960946dcade61d
12 lines
222 B
Go
12 lines
222 B
Go
// file: models/movie.go
|
|
|
|
package models
|
|
|
|
// Movie is our sample data structure.
|
|
type Movie struct {
|
|
Name string `json:"name"`
|
|
Year int `json:"year"`
|
|
Genre string `json:"genre"`
|
|
Poster string `json:"poster"`
|
|
}
|