|
@@ -195,6 +195,10 @@ type Repository struct {
|
|
UpdatedUnix int64
|
|
UpdatedUnix int64
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+func (repo *Repository) CanDoified() bool {
|
|
|
|
+ return true
|
|
|
|
+}
|
|
|
|
+
|
|
func (repo *Repository) BeforeInsert() {
|
|
func (repo *Repository) BeforeInsert() {
|
|
repo.CreatedUnix = time.Now().Unix()
|
|
repo.CreatedUnix = time.Now().Unix()
|
|
repo.UpdatedUnix = repo.CreatedUnix
|
|
repo.UpdatedUnix = repo.CreatedUnix
|