Redundant code

v2
Nikita Tokarchuk 5 years ago
parent 2c49854aee
commit 06b1ef5d9a
  1. 2
      mongox/base/getid_test.go
  2. 3
      mongox/query/preload.go

@ -19,7 +19,7 @@ func (d *DocWithCustomInterface) GetID() interface{} {
return d.ID return d.ID
} }
func (d *DocWithCustomInterface) SetID(id interface{}) { func (d *DocWithCustomInterface) SetID(interface{}) {
panic("not implemented") panic("not implemented")
} }

@ -12,6 +12,5 @@ var _ Preloader = Preload{}
// Preload returns a preload list // Preload returns a preload list
func (l Preload) Preload() []string { func (l Preload) Preload() []string {
return l
return Preload(l)
} }

Loading…
Cancel
Save