Documentation ¶
Index ¶
- type Repository
- func (_m *Repository) Create(name string, value interface{}) error
- func (_m *Repository) Exists(name string) bool
- func (_m *Repository) Find(name string) (interface{}, error)
- func (_m *Repository) GetTheme() (string, error)
- func (_m *Repository) Insert(_a0 domain.OptionsDBMap) error
- func (_m *Repository) Map() (domain.OptionsDBMap, error)
- func (_m *Repository) SetTheme(theme string) error
- func (_m *Repository) Struct() domain.Options
- func (_m *Repository) Update(name string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) Create ¶
func (_m *Repository) Create(name string, value interface{}) error
Create provides a mock function with given fields: name, value
func (*Repository) Exists ¶
func (_m *Repository) Exists(name string) bool
Exists provides a mock function with given fields: name
func (*Repository) Find ¶
func (_m *Repository) Find(name string) (interface{}, error)
Find provides a mock function with given fields: name
func (*Repository) GetTheme ¶
func (_m *Repository) GetTheme() (string, error)
GetTheme provides a mock function with given fields:
func (*Repository) Insert ¶
func (_m *Repository) Insert(_a0 domain.OptionsDBMap) error
Insert provides a mock function with given fields: _a0
func (*Repository) Map ¶
func (_m *Repository) Map() (domain.OptionsDBMap, error)
Map provides a mock function with given fields:
func (*Repository) SetTheme ¶
func (_m *Repository) SetTheme(theme string) error
SetTheme provides a mock function with given fields: theme
func (*Repository) Struct ¶
func (_m *Repository) Struct() domain.Options
Struct provides a mock function with given fields:
func (*Repository) Update ¶
func (_m *Repository) Update(name string, value interface{}) error
Update provides a mock function with given fields: name, value
Click to show internal directories.
Click to hide internal directories.