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
}
func (d *DocWithCustomInterface) SetID(id interface{}) {
func (d *DocWithCustomInterface) SetID(interface{}) {
panic("not implemented")
}

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

Loading…
Cancel
Save