mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 02:47:04 +00:00
Update to version 8.5.0 | NEW: MVC Output Result | Read HISTORY.md
Former-commit-id: 6a3579f2500fc715d7dc606478960946dcade61d
This commit is contained in:
11
_examples/mvc/using-method-result/models/movie.go
Normal file
11
_examples/mvc/using-method-result/models/movie.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user