data/postgres/users.go
Method Users.GetDetail
has 5 return statements (exceeds 4 allowed). Open
Open
func (u *Users) GetDetail(id int64) (*model.Account, error) {
account := &model.Account{}
row := u.DB.QueryRow("SELECT * FROM gosaas_accounts WHERE id = $1", id)
err := row.Scan(&account.ID,
&account.Email,