code: func SplitPath(p string) (bucket, path string) {
  	if err := ValidatePath(p); err != nil {
  		panic(err)
  	}
  	sep := strings.IndexByte(p[1:], '/') + 1
  	return p[1:sep], p[sep+1:]
  }
docs: // SplitPath given "/a/b/c" returns ("a", "b/c") or panics.
  //
  // Use ValidatePath for prior validation if you are concerned.