Skip to content

Instantly share code, notes, and snippets.

@summivox
Last active December 17, 2015 16:39
Show Gist options
  • Select an option

  • Save summivox/5640921 to your computer and use it in GitHub Desktop.

Select an option

Save summivox/5640921 to your computer and use it in GitHub Desktop.
package main
var S = "abc"
var I int32 = 10000
func main() {
go print(I)
s := S
print(s)
print(S)
}
package main
var S = "abc"
var I int32 = 10000
func main() {
go print(I)
s := S
if s {
s = S
}
print(s)
print(S)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment