code: func (r *RepositoryContent) GetContent() (string, error) {
  	var encoding string
  	if r.Encoding != nil {
  		encoding = *r.Encoding
  	}
  
  	switch encoding {
  	case "base64":
  		c, err := base64.StdEncoding.DecodeString(*r.Content)
  		return string(c), err
  	case "":
  		if r.Content == nil {
  			return "", nil
  		}
  		return *r.Content, nil
  	default:
  		return "", fmt.Errorf("unsupported content encoding: %v", encoding)
  	}
  }
docs: // GetContent returns the content of r, decoding it if necessary.