mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
update utils file structure
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
func GenUUID() string {
|
||||
return uuid.New().String()
|
||||
}
|
||||
|
||||
func GetNowDateTimeStr() string {
|
||||
return time.Now().Format("2006/01/02 15:04:05")
|
||||
}
|
Reference in New Issue
Block a user