Last active
August 29, 2015 14:04
-
-
Save jasonmoo/1a26c514ea96bf454b17 to your computer and use it in GitHub Desktop.
Revisions
-
jasonmoo revised this gist
Jul 18, 2014 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,10 @@ users := make([]*User, 0) err := db.FindAll(&users, "WHERE `id` < 10") if err != nil { return err } for _, user := range users { fmt.Printf("%d: %s (%s)\n", user.Id, user.Name, user.Email) } -
jasonmoo revised this gist
Jul 18, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,13 @@ users := make([]*User, 0) err := db.FindAll(&users, "WHERE `id` < 10") if err != nil { return err } for _, user := range users { fmt.Printf("%d: %s (%s)\n", user.Id, user.Name, user.Email) } -
jasonmoo created this gist
Jul 18, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ users := make([]*User, 0) err := db.FindAll(&users, “WHERE `id` < 10”) if err != nil { return err } for _, user := range users { fmt.Printf(“%d: %s (%s)\n”, user.Id, user.Name, user.Email) }