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