code: func GetStringId(id interface{}) (string, error) {
  	switch v := id.(type) {
  	case int:
  		return strconv.Itoa(v), nil
  	case string:
  		return v, nil
  	default:
  		return "", errors.New("unsupported id type")
  	}
  }
docs: // GetStringId is a helper routine that allows screenboards and timeboards to be retrieved
  // by either the legacy numerical format or the new string format.
  // It returns the id as is if it is a string, converts it to a string if it is an integer.
  // It return an error if the type is neither string or an integer