refine comments for package core (#5014)

* Refine Comments

* refine comments for cache.go

* refine comments for log.go

* Update orm.go

* refine comments for orm_log.go,types.go

* Update utils.go

* Update doc.go

* refine comments

* refine comments

* Update db.go

* refine comments for core
This commit is contained in:
Regan Yue
2022-07-19 17:17:06 +08:00
committed by GitHub
parent 80e6f3d42c
commit 907956fbcf
5 changed files with 9 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ import (
"time"
)
// short string format
// ToShortTimeFormat short string format
func ToShortTimeFormat(d time.Duration) string {
u := uint64(d)
if u < uint64(time.Second) {