Skip to content

Instantly share code, notes, and snippets.

@Mayankgupta688
Created October 20, 2019 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mayankgupta688/d9e76583191f769c817a5e87a2952524 to your computer and use it in GitHub Desktop.
Save Mayankgupta688/d9e76583191f769c817a5e87a2952524 to your computer and use it in GitHub Desktop.
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