Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InmemoryDatabase ¶
type InmemoryDatabase struct {
// contains filtered or unexported fields
}
InmemoryDatabase holds a reference of previously scrapped elements
func NewInmemoryDatabase ¶
func NewInmemoryDatabase() *InmemoryDatabase
NewInmemoryDatabase returns a pointer
func (InmemoryDatabase) FindOne ¶
func (ld InmemoryDatabase) FindOne(phone string, name string) (*Person, error)
FindOne extends inmemory database. Returns a person if previously stored, otherwise returns an error
func (InmemoryDatabase) Update ¶
func (ld InmemoryDatabase) Update(person *Person) error
Update method not implemented
Click to show internal directories.
Click to hide internal directories.