user := make([]*model.User, 0)
if err := p.sqlSelectUsers.Select(&user); err != nil {
return nil, err
}
return user, nil
That message isn't actually an error - it's just a warning that the file in question isn't of the right architecture (e.g. 32-bit vs 64-bit, wrong CPU architecture). The linker will keep looking for a library of the right type.