This commit is contained in:
Dominic Wong
2021-03-25 22:53:48 +00:00
parent 81252c1611
commit 72aca7ee64
8 changed files with 56 additions and 35 deletions

View File

@@ -4,7 +4,7 @@ import (
"time"
"github.com/micro/micro/v3/service/errors"
"gorm.io/gorm"
"github.com/micro/services/pkg/gorm"
)
var (
@@ -17,7 +17,7 @@ var (
)
type Codes struct {
DB *gorm.DB
gorm.Helper
Time func() time.Time
}