- Refactor this code to shorter with
.Query().Get()
method, and the error withhttp.NotFound()
method. - Create
type.go
indatabase/users
repo. - Change bank
ID
type to useuuid
from github.com/google/uuid.
- User ID details.
- Wallet service.
.Query().Get()
method, and the error with http.NotFound()
method.type.go
in database/users
repo.ID
type to use uuid
from github.com/google/uuid.