Created
June 19, 2014 17:27
-
-
Save xrd/dad15f9e0adda4c165db to your computer and use it in GitHub Desktop.
Go doesn't help me here
This file contains hidden or 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 main() { | |
usingComma := -1 | |
delimiter := ":" | |
if -1 == usingComma { | |
delimiter := "," | |
fmt.Println("Delimiter is " + delimiter) | |
} | |
fmt.Println("Delimiter is " + delimiter) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment