1 min readOct 13, 2017
Hi Tien. Sorry for the delay in replying. No, I don’t.
Are you sure you added the return type after the input parameters?
The function declaration should be:
func (u *user) getUser(db *sql.DB) error {}
Please, let me know if you found the problem.