Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27b9f1df4d
|
||
|
|
f916a552f6
|
||
|
|
9f5c4ed095
|
||
|
|
56aeac9e21
|
||
|
|
84d04c08d8
|
||
|
|
643d4240dc
|
@@ -25,7 +25,7 @@ jobs:
|
||||
run: |
|
||||
echo "Creating version"
|
||||
|
||||
VERSION="0.0.2"
|
||||
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)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package contact
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type Contact struct {
|
||||
PhoneNumber string `json:"phone_number,omitempty"`
|
||||
UserId uuid.UUID `json:"user_id,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type User struct {
|
||||
Id uuid.UUID `json:"id"`
|
||||
PhoneNumber string `json:"phone_number"`
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user