Browse Source

Unit.AfterFind(dbI interface{})

Dmitry Yu Okunev 4 years ago
parent
commit
2f4c5404f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      unit.go

+ 1 - 1
unit.go

@@ -42,7 +42,7 @@ type Unit struct {
 	isActiveReady bool `reform:"-"`
 }
 
-func (u *Unit) AfterFind() error {
+func (u *Unit) AfterFind(dbI interface{}) error {
 	if u.Name != nil {
 		*u.Name = strings.Trim(*u.Name, " ")
 	}