Change the path things.

This commit is contained in:
zicla
2019-04-03 21:38:51 +08:00
parent a8cc42b915
commit c371d9d5bd
17 changed files with 139 additions and 111 deletions

View File

@ -43,7 +43,7 @@ type User struct {
}
// set User's table name to be `profiles`
func (User) TableName() string {
func (this *User) TableName() string {
return TABLE_PREFIX + "user"
}