1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-26 18:34:13 +00:00

orm: add test for unexported struct field

This commit is contained in:
slene 2014-05-16 13:14:15 +08:00
parent 568c0c47f0
commit b647026dff

View File

@ -210,6 +210,8 @@ type User struct {
Nums int
Langs SliceStringField `orm:"size(100)"`
Extra JsonField `orm:"type(text)"`
unexport bool `orm:"-"`
unexport_ bool
}
func (u *User) TableIndex() [][]string {