Create a Go program to demonstrate the use of the recover function for handling panics.
EasyProblem Statement
Create a Go program to demonstrate the use of the recover function for handling panics.
Sample Input
A function that causes a panic.
Sample Output
Recovered from panic: This is a panic!
Limits
Time: 2s · Memory: 256 MB