Compare commits

...
Author SHA1 Message Date
phoenix 64c610597a Code formatting 2025-11-29 16:20:01 -05:00
phoenix 6863af47c3 Version bump 2025-11-29 16:19:44 -05:00
phoenix 05e830a824 Added MessageEventResponse 2025-11-29 16:19:36 -05:00
phoenixandphoenix 14ddd3bc9c tsk-8: Renamed pkg (#9)
Closes #8

Reviewed-on: phoenix/textsender-models#9
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-11-27 00:55:20 +00:00
12 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: |
echo "Creating version"
VERSION="0.0.9"
VERSION="0.0.11"
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
+3 -3
View File
@@ -11,13 +11,13 @@ jobs:
uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v6
with:
go-version: '1.25.4'
- name: Configure Git for SSH
run: |
git config --global url."git@git.kundeng.us:".insteadOf "https://git.kundeng.us/"
go env -w GOPRIVATE=git.kundeng.us/phoenix/*
git config --global url."git@${{ secrets.GIT_HOST_ROOT }}:".insteadOf "https://${{ secrets.GIT_HOST_ROOT }}/"
go env -w GOPRIVATE=${{ secrets.GIT_HOST_ROOT }}/phoenix/*
- name: Download dependencies
run: |
+15
View File
@@ -0,0 +1,15 @@
package message
import (
"time"
"github.com/google/uuid"
)
type MessageEventResponse struct {
Id uuid.UUID `json:"id,omitempty"`
ScheduledMessageEventId uuid.UUID `json:"scheduled_message_event_id,omitempty"`
Response []byte `json:"response"`
UserId uuid.UUID `json:"user_id,omitempty"`
Sent time.Time `json:"sent"`
}