Redundant code

This commit is contained in:
Nikita Tokarchuk
2020-03-09 23:47:32 +01:00
parent 2c49854aee
commit 06b1ef5d9a
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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")
}
+1 -2
View File
@@ -12,6 +12,5 @@ var _ Preloader = Preload{}
// Preload returns a preload list
func (l Preload) Preload() []string {
return Preload(l)
return l
}