From b8edeb5f31414fc8fe79018cc857e9297bd27fca Mon Sep 17 00:00:00 2001 From: Ludvig Lundgren Date: Thu, 19 Aug 2021 18:42:59 +0200 Subject: [PATCH] fix: add missing struct field to user (#10) --- internal/domain/user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/domain/user.go b/internal/domain/user.go index 3abd7ce..8f278b0 100644 --- a/internal/domain/user.go +++ b/internal/domain/user.go @@ -6,6 +6,7 @@ type UserRepo interface { } type User struct { + ID int `json:"id"` Username string `json:"username"` Password string `json:"password"` }