Improve record-service, return struct not interface
This commit is contained in:
@@ -158,7 +158,7 @@ type (
|
||||
ErrorIndex map[string]int
|
||||
)
|
||||
|
||||
func Record(dal dalDater) RecordService {
|
||||
func Record(dal dalDater) *record {
|
||||
svc := &record{
|
||||
actionlog: DefaultActionlog,
|
||||
ac: DefaultAccessControl,
|
||||
|
||||
@@ -64,7 +64,7 @@ var (
|
||||
|
||||
DefaultNamespace NamespaceService
|
||||
DefaultImportSession ImportSessionService
|
||||
DefaultRecord RecordService
|
||||
DefaultRecord *record
|
||||
DefaultModule ModuleService
|
||||
DefaultChart *chart
|
||||
DefaultPage *page
|
||||
|
||||
Reference in New Issue
Block a user