generated from tsivinsky/go-template
add user authentication
This commit is contained in:
9
model/model.go
Normal file
9
model/model.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Model struct {
|
||||
ID int64 `json:"id" db:"id"`
|
||||
CreatedAt time.Time `json:"createdAt" db:"created_at"`
|
||||
UpdatedAt time.Time `json:"updatedAt" db:"updated_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user