code: func splitPath(key string) []string {
  	elements := strings.Split(key, "/")
  	if elements[0] == "" {
  		elements = elements[1:]
  	}
  	if elements[len(elements)-1] == "" {
  		elements = elements[:len(elements)-1]
  	}
  	return elements
  }
docs: // "/" -> []
  // "/admin" -> ["admin"]
  // "/admin/" -> ["admin"]
  // "/admin/users" -> ["admin", "users"]