Show HN: Gree – go lib for making trees like the 'tree' command
6 points| russellendicott | 2 years ago |github.com
a := gree.NewNode("root")
a.NewChild("child1")
a.NewChild("child2").NewChild("grandchild1")
fmt.Println(a.Draw())
Makes root
├── child1
└── child2
└── grandchild1
Curious if others find it useful
No comments yet.