Compare commits

...
Author SHA1 Message Date
phoenix 27b9f1df4d Changed type of Contact.UserId 2025-11-01 20:31:54 -04:00
phoenix f916a552f6 Formatting 2025-11-01 20:30:30 -04:00
phoenix 9f5c4ed095 Trying something out 2025-11-01 20:29:23 -04:00
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: |
echo "Creating version"
VERSION="0.0.3"
VERSION=$(git tag --sort=-version:refname | sed 's/-\(main\|devel\).*//' | uniq | head -n 1)
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
+6 -2
View File
@@ -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"`
}