Documentation ¶
Index ¶
- func New(fn string) (contact.Repository, error)
- type Gormrepo
- func (g *Gormrepo) Close()
- func (g *Gormrepo) Delete(c *contact.Contact) error
- func (g *Gormrepo) Get(id uint) (*contact.Contact, error)
- func (g *Gormrepo) List() ([]*contact.Contact, error)
- func (g *Gormrepo) New(c *contact.Contact) (*contact.Contact, error)
- func (g *Gormrepo) Update(c *contact.Contact) (*contact.Contact, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.