Use tabs as the canonical source indentation in git
Space conversion is done during generation only. Fixes #192
This commit is contained in:
committed by
Mark McGranaghan
parent
1699ad1c45
commit
7c160440be
@@ -8,15 +8,15 @@ import "fmt"
|
||||
|
||||
func main() {
|
||||
|
||||
// Strings, which can be added together with `+`.
|
||||
fmt.Println("go" + "lang")
|
||||
// Strings, which can be added together with `+`.
|
||||
fmt.Println("go" + "lang")
|
||||
|
||||
// Integers and floats.
|
||||
fmt.Println("1+1 =", 1+1)
|
||||
fmt.Println("7.0/3.0 =", 7.0/3.0)
|
||||
// Integers and floats.
|
||||
fmt.Println("1+1 =", 1+1)
|
||||
fmt.Println("7.0/3.0 =", 7.0/3.0)
|
||||
|
||||
// Booleans, with boolean operators as you'd expect.
|
||||
fmt.Println(true && false)
|
||||
fmt.Println(true || false)
|
||||
fmt.Println(!true)
|
||||
// Booleans, with boolean operators as you'd expect.
|
||||
fmt.Println(true && false)
|
||||
fmt.Println(true || false)
|
||||
fmt.Println(!true)
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
c5a53c75cc57dc15ac4458285c9b139bf85c67bf
|
||||
fgGVOyuZdu
|
||||
aGiVohrYqYC
|
||||
|
||||
Reference in New Issue
Block a user