Create a Go program to write data to a file and then read it back.
MediumProblem Statement
Create a Go program to write data to a file and then read it back.
Sample Input
A string Hello, Go! to write into a file named output.txt.
Sample Output
Hello, Go!
Limits
Time: 2s · Memory: 256 MB