Commit b647026d authored by slene's avatar slene

orm: add test for unexported struct field

parent 568c0c47
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment