Files
workspace/apps/go-crm/internal/handlers/setup.go
gabspereira 5b8107c169 Add GOTH stack CRM platform skeleton
- Go module with chi router, bcrypt
- SQLite schema for 9 tables
- Auth, Clients, Customers, Services, Scheduling, Payments, Q&A handlers
- HTMX template layouts
2026-04-21 15:56:40 +00:00

14 lines
161 B
Go

package handlers
import (
"database/sql"
"time"
)
func SetupHandlers(db *sql.DB) {
DB = db
}
func getCurrentTimestamp() int64 {
return time.Now().Unix()
}