type FakeCustomStore … // Add calls the custom Add function if defined func (f *FakeCustomStore) Add(obj interface{ … } // Update calls the custom Update function if defined func (f *FakeCustomStore) Update(obj interface{ … } // Delete calls the custom Delete function if defined func (f *FakeCustomStore) Delete(obj interface{ … } // List calls the custom List function if defined func (f *FakeCustomStore) List() []interface{ … } // ListKeys calls the custom ListKeys function if defined func (f *FakeCustomStore) ListKeys() []string { … } // Get calls the custom Get function if defined func (f *FakeCustomStore) Get(obj interface{ … } // GetByKey calls the custom GetByKey function if defined func (f *FakeCustomStore) GetByKey(key string) (item interface{ … } // Replace calls the custom Replace function if defined func (f *FakeCustomStore) Replace(list []interface{ … } // Resync calls the custom Resync function if defined func (f *FakeCustomStore) Resync() error { … }