Documentation ¶
Index ¶
Constants ¶
View Source
const (
COLLECTION = "contact"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactsDao ¶
func (*ContactsDao) Connect ¶
func (m *ContactsDao) Connect()
func (*ContactsDao) Delete ¶
func (m *ContactsDao) Delete(contact Contact) error
func (*ContactsDao) FindAll ¶
func (m *ContactsDao) FindAll() ([]Contact, error)
func (*ContactsDao) FindById ¶
func (m *ContactsDao) FindById(id string) (Contact, error)
func (*ContactsDao) Insert ¶
func (m *ContactsDao) Insert(contact Contact) error
func (*ContactsDao) Update ¶
func (m *ContactsDao) Update(contact Contact) error
Click to show internal directories.
Click to hide internal directories.