Refine Comments : admin/profile.go,bean/mock.go,config/global.go... (#5009)

* 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
This commit is contained in:
Regan Yue
2022-07-08 21:19:52 +08:00
committed by GitHub
parent 2c506f7c2b
commit 49be2581d1
10 changed files with 56 additions and 55 deletions

View File

@@ -7,7 +7,7 @@ import (
"strings"
)
// the mock object must be pointer of struct
// Mock have a mock object ,it must be pointer of struct
// the element in mock object can be slices, structures, basic data types, pointers and interface
func Mock(v interface{}) (err error) {
pv := reflect.ValueOf(v)