Add leads handlers, WhatsApp integration, and test files
This commit is contained in:
@@ -3,10 +3,15 @@ package handlers
|
||||
import (
|
||||
"database/sql"
|
||||
"time"
|
||||
|
||||
"go-crm/internal/whatsapp"
|
||||
)
|
||||
|
||||
func SetupHandlers(db *sql.DB) {
|
||||
var WAConnector whatsapp.Connector
|
||||
|
||||
func SetupHandlers(db *sql.DB, wa whatsapp.Connector) {
|
||||
DB = db
|
||||
WAConnector = wa
|
||||
}
|
||||
|
||||
func getCurrentTimestamp() int64 {
|
||||
|
||||
Reference in New Issue
Block a user