Documentation ¶
Index ¶
- type Dao
- func (m *Dao) Connect()
- func (m *Dao) Delete(id string) (err error)
- func (m *Dao) FakeInsert() (id bson.ObjectId, err error)
- func (m *Dao) FindAll() (contacts []Contact, err error)
- func (m *Dao) FindByID(id string) (contact Contact, err error)
- func (m *Dao) Insert(contact Contact) (err error)
- func (m *Dao) Update(contact Contact) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.