summaryrefslogtreecommitdiff
path: root/nexus/types/account/response.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/types/account/response.go')
-rw-r--r--nexus/types/account/response.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/nexus/types/account/response.go b/nexus/types/account/response.go
new file mode 100644
index 0000000..bb413ed
--- /dev/null
+++ b/nexus/types/account/response.go
@@ -0,0 +1,15 @@
+package account
+
+import (
+ "time"
+
+ "github.com/google/uuid"
+)
+
+type Response struct {
+ ID uuid.UUID `json:"id"`
+ Username string `json:"username"`
+ Email string `json:"email"`
+ IsVerified bool `json:"is_verified"`
+ CreatedAt time.Time `json:"created_at"`
+}