From 27b9f1df4d578f359a141e16893142a8327e1d8a Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 1 Nov 2025 20:31:54 -0400 Subject: [PATCH] Changed type of Contact.UserId --- pkg/contact/contact.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg/contact/contact.go b/pkg/contact/contact.go index 4e54b04..990850d 100644 --- a/pkg/contact/contact.go +++ b/pkg/contact/contact.go @@ -1,6 +1,10 @@ package contact +import ( + "github.com/google/uuid" +) + type Contact struct { - PhoneNumber string `json:"phone_number,omitempty"` - UserId string `json:"user_id,omitempty"` + PhoneNumber string `json:"phone_number,omitempty"` + UserId uuid.UUID `json:"user_id,omitempty"` }