SHARE
TWEET

Untitled

a guest May 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package main
  2.  
  3. import (
  4.     "log"
  5. )
  6.  
  7. func main() {
  8.     var a int
  9.  
  10.     if false {
  11.         var b int
  12.         a = 1
  13.         log.Println(a, b)
  14.     } else {
  15.         var b int
  16.         a, b := 2, 3
  17.         log.Println(a, b)
  18.     }
  19.  
  20.     log.Println(a)
  21. }
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