mirror of
https://github.com/kataras/iris.git
synced 2026-02-05 18:25:58 +00:00
MVC Example - you can learn a lot | Asleep for your eyes (again)
Former-commit-id: cd66c00b29c903b724763cb84cae96426934acb5
This commit is contained in:
15
_examples/tutorial/mvc/models/user.go
Normal file
15
_examples/tutorial/mvc/models/user.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// User is an example model.
|
||||
type User struct {
|
||||
ID int64
|
||||
Username string
|
||||
Firstname string
|
||||
Lastname string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user