TableName overrides the table name used by pop
()
| 135 | |
| 136 | // TableName overrides the table name used by pop |
| 137 | func (User) TableName() string { |
| 138 | tableName := "users" |
| 139 | return tableName |
| 140 | } |
| 141 | |
| 142 | func (u *User) HasPassword() bool { |
| 143 | var pwd string |
no outgoing calls