Codewise
Courses
My learning
Ideas
Leaderboard
YouTube
Courses
My learning
Ideas
Leaderboard
YouTube
Sign in
internal/notification/notificationdb/models.go · Payments Backend: Go Microservices | Codewise
Payments Backend: Go Microservices
payments
/
internal
/
notification
/
notificationdb
/
models.go
main
models.go
31 lines, 498 B
Raw
1
// Code generated by sqlc. DO NOT EDIT.
2
// versions:
3
// sqlc v1.31.1
4
5
package
notificationdb
6
7
import
(
8
"
time
"
9
10
"
github.com/google/uuid
"
11
"
github.com/jackc/pgx/v5/pgtype
"
12
)
13
14
type
DeadLetter
struct
{
15
Stream
string
16
Seq
int64
17
Subject
string
18
Payload []
byte
19
Error
string
20
Deliveries
int32
21
FailedAt
time
.
Time
22
ReplayedAt
pgtype
.
Timestamptz
23
}
24
25
type
Notification
struct
{
26
EventID
uuid
.
UUID
27
UserID
uuid
.
UUID
28
Recipient
string
29
Subject
string
30
SentAt
time
.
Time
31
}