code: func parseToken(s string) (string, string, error) {
  	split := tokenRegexp.FindStringSubmatch(s)
  	if len(split) != 3 {
  		return "", "", fmt.Errorf("token [%q] was not of form [%q]", s, tokenRegexpString)
  	}
  	return split[1], split[2], nil
  }
docs: // parseToken tries and parse a valid token from a string.
  // A token ID and token secret are returned in case of success, an error otherwise.