If I give a flag (in golang) as 'test*.txt' (as a CLI argument), I need to open all files of the said format (example: test.txt, test1.txt, test2.txt).
I am thinking of doing a regex match with all the files present in the folder. Is there a better way?