Text location error

This commit is contained in:
Yumin Wu
2018-05-30 21:24:00 +08:00
parent bc78f2c9ca
commit 52a8cefd1b

View File

@@ -206,8 +206,8 @@ type Profile struct {
type Post struct {
Id int
Title string
User *User `orm:"rel(fk)"` //设置一对多关系
Tags []*Tag `orm:"rel(m2m)"`
User *User `orm:"rel(fk)"`
Tags []*Tag `orm:"rel(m2m)"` //设置一对多关系
}
type Tag struct {