daily pastebin goal
17%
SHARE
TWEET

[Go] Panic demo.

cwchen Oct 28th, 2017 326 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package main
  2.  
  3. import (
  4.     "fmt"
  5. )
  6.  
  7. func main() {
  8.     panic("Some error")
  9.  
  10.     // It didn't occur.
  11.     fmt.Println("More message")
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top