Merge pull request #8 from qjcg/gofmt-everything

Run "go fmt" on all .go files
This commit is contained in:
Jason Thigpen
2014-12-10 09:32:34 -08:00
20 changed files with 380 additions and 379 deletions

View File

@@ -10,7 +10,7 @@ func isPrimeNumber(possiblePrime int) bool {
} }
func findPrimeNumbers(channel chan int) { func findPrimeNumbers(channel chan int) {
for i := 2; /* infinite loop */ ; i++ { for i := 2; ; /* infinite loop */ i++ {
// your code goes here // your code goes here
assert(i < 100) // i is afraid of heights assert(i < 100) // i is afraid of heights

View File

@@ -20,6 +20,7 @@ const (
__float32__ float32 = -1.0 __float32__ float32 = -1.0
__delete_me__ bool = false __delete_me__ bool = false
) )
var __runner__ runner = nil var __runner__ runner = nil
func TestKoans(t *testing.T) { func TestKoans(t *testing.T) {