Created
October 20, 2019 10:55
-
-
Save Mayankgupta688/d9e76583191f769c817a5e87a2952524 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func executePanic() { | |
panic("This is Panic Situation") | |
fmt.Println("The function executes Completely") | |
} | |
func main() { | |
executePanic() | |
fmt.Println("Main block is executed completely...") | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment