mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-11-24 08:22:42 +02:00
сделал created_at
This commit is contained in:
parent
1aa9dff000
commit
a8ffded21c
@ -1,4 +1,5 @@
|
||||
|
||||
//CreatedAt
|
||||
if int64(m.ID) == 0 {
|
||||
m.CreatedAt = time.Now()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user