Open artem-webdev opened 3 years ago
func (h *waHandler) HandleNewContact(contact whatsapp.Contact) { err := h.wac.Store.AddContact(contact) if err != nil { log.Println(err) return } } ...etc
it can be seen that the store does not use the connect, so let there be methods for store object
@SchulteMK Still in progress? - no, this is final
@SchulteMK please can you review this PL. With Regard
added safe public methods to store
for exapmle