mirror of
https://github.com/astaxie/beego.git
synced 2025-07-03 17:00:19 +00:00
gofmt -s & go_vet
This commit is contained in:
@ -242,14 +242,14 @@ type User struct {
|
||||
|
||||
func (u *User) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Id", "UserName"},
|
||||
[]string{"Id", "Created"},
|
||||
{"Id", "UserName"},
|
||||
{"Id", "Created"},
|
||||
}
|
||||
}
|
||||
|
||||
func (u *User) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"UserName", "Email"},
|
||||
{"UserName", "Email"},
|
||||
}
|
||||
}
|
||||
|
||||
@ -287,7 +287,7 @@ type Post struct {
|
||||
|
||||
func (u *Post) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Id", "Created"},
|
||||
{"Id", "Created"},
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user