It’s all about preference. Board shorts come without a liner, while others have different kinds of liners, from mesh to compression boxer-brief-style shorts. You’ve probably worn a bathing suit before, and if you didn’t mind the mesh liner, then keep up with that. If you frequently experience chafing, maybe consider a different option.