type Comment struct 1type Comment struct { 2 Creator string 3 Body string 4} Copy source Methods on Comment func String method on Comment 1func (cmm Comment) String() string Copy source
type Plot struct 1type Plot struct { 2 Name string 3 Posts avl.Tree // postsCtr -> *Post 4 PostsCtr int 5} Copy source Methods on Plot func AddPost method on Plot 1func (plot *Plot) AddPost(title string, body string) Copy source func String method on Plot 1func (plot *Plot) String() string Copy source
type Post struct 1type Post struct { 2 Title string 3 Body string 4 Comments avl.Tree 5} Copy source Methods on Post func String method on Post 1func (post *Post) String() string Copy source