Skip to content

Instantly share code, notes, and snippets.

@jasonmoo
Last active August 29, 2015 14:04
Show Gist options
  • Save jasonmoo/dba6fd349769ccb39b7b to your computer and use it in GitHub Desktop.
Save jasonmoo/dba6fd349769ccb39b7b to your computer and use it in GitHub Desktop.

Revisions

  1. jasonmoo revised this gist Jul 18, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion user_struct.go
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    type User struct {
    _meta string `table:user`
    _meta string `table:"user"`

    Id int `column:"id"`
    Name string `column:"name"`
  2. jasonmoo created this gist Jul 18, 2014.
    7 changes: 7 additions & 0 deletions user_struct.go
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    type User struct {
    _meta string `table:”user”`

    Id int `column:"id"`
    Name string `column:"name"`
    Email string `column:"email"`
    }