feat (control-letter): add crud, renaming sync directory

This commit is contained in:
dpurbosakti
2025-11-03 15:44:03 +07:00
parent 793ff28a77
commit ec877d73c2
13 changed files with 711 additions and 6 deletions
+7
View File
@@ -143,3 +143,10 @@ func GetTimeNow() *time.Time {
tmp := time.Now()
return &tmp
}
func IsDateBeforeNow(t *time.Time) bool {
if t == nil {
return false
}
return t.Before(time.Now())
}