Clean up documentation (#168)

Fixes #135
This commit is contained in:
Thomas Pelletier
2017-05-30 18:33:25 -07:00
committed by GitHub
parent 26ae43fdee
commit 40ecdac242
8 changed files with 124 additions and 135 deletions
+1 -2
View File
@@ -54,8 +54,7 @@ func (t *Tree) HasPath(keys []string) bool {
return t.GetPath(keys) != nil
}
// Keys returns the keys of the toplevel tree.
// Warning: this is a costly operation.
// Keys returns the keys of the toplevel tree (does not recurse).
func (t *Tree) Keys() []string {
keys := make([]string, len(t.values))
i := 0