Golang; Testing; redirecting print statements to a file : 
My program outputs a lot of text. 

I use VSCode (relatively new) and the display of output is always truncated. 

Is it possible to output all such fmt.PrintXXX statements to a file?

OR

How can I capture all of the output from the .Print statements ?
