Go check if file is a text file

Viewed 1436

how do I check if a file is a text file, not images, video nor other than a text file?

what I already tried is to check a-Z 0-9 and special chars is contained in the file

0 Answers
Related