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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user