Improve record-service, return struct not interface

This commit is contained in:
Denis Arh
2022-06-28 14:31:50 +02:00
parent 4b28855a38
commit d5ab4c7eba
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -64,7 +64,7 @@ var (
DefaultNamespace NamespaceService
DefaultImportSession ImportSessionService
DefaultRecord RecordService
DefaultRecord *record
DefaultModule ModuleService
DefaultChart *chart
DefaultPage *page