mirror of
https://github.com/mainnika/mongox-go-driver.git
synced 2026-07-03 17:22:33 +00:00
Redundant code
This commit is contained in:
@@ -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)
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user