code: func ParsePath(str string) (path Path, ok bool) {
  	if len(str) == 0 {
  		return nil, false
  	}
  	if str[0] != '/' {
  		return nil, false
  	}
  	if len(str) == 1 {
  		return Path{}, true
  	}
  	parts := strings.Split(str[1:], "/")
  	return parts, true
  }
docs: // ParsePath returns a new path for the given str.