d6o / GoTree

A Tree printer module written in GoLang
https://disiqueira.github.io/GoTree/
MIT License
191 stars 32 forks source link

add export comments #13

Closed Konstantin8105 closed 6 years ago

Konstantin8105 commented 6 years ago

add export comments for better godoc view. see result https://godoc.org/github.com/DiSiqueira/GoTree or:

package gotree
    import "."

    Package gotree create and print tree.

TYPES

type Printer interface {
    Print(Tree) string
}
    Printer is printer interface

type Tree interface {
    Add(text string) Tree
    AddTree(tree Tree)
    Items() []Tree
    Text() string
    Print() string
}
    Tree is tree inteface

func New(text string) Tree
    New returns a new GoTree.Tree
d6o commented 6 years ago

Thanks again for your contributions!!! Amazing mate!