What does a guy mean by a goodnight text?

This is probably a dumb question but oh well. We were texting on and off for a couple of hours then I texted him I was going to bed. He replied goodnight! What does it mean when a guy says goodnight first ? Is it just a friendly thing or is he interested in me?

What does a guy mean by a goodnight text?
Post Opinion