Documentation ¶ Index ¶ type Category func (c *Category) GetName() string func (c *Category) Ops(name string) []string type Post func (p *Post) GetName() string func (p *Post) Ops(name string) []string type User func (u *User) GetName() string func (u *User) Ops(name string) []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Category ¶ type Category struct { Id int32 Name string } func (*Category) GetName ¶ func (c *Category) GetName() string func (*Category) Ops ¶ func (c *Category) Ops(name string) []string type Post ¶ type Post struct { Id int32 Name string Author *User Categories []*Category } func (*Post) GetName ¶ func (p *Post) GetName() string func (*Post) Ops ¶ func (p *Post) Ops(name string) []string type User ¶ type User struct { Id int32 Name string Posts []*Post } func (*User) GetName ¶ func (u *User) GetName() string func (*User) Ops ¶ func (u *User) Ops(name string) []string Source Files ¶ View all Source files category.gopost.gouser.go Click to show internal directories. Click to hide internal directories.