package gorm type many2many struct { } func (*many2many) Find(value interface{}) { } func (*many2many) Append(values interface{}) { } func (*many2many) Delete(value interface{}) { } func (*many2many) Clear(value interface{}) { } func (*many2many) Replace(values interface{}) { } func (*many2many) Count(values interface{}) int { return 0 }