go-github-readme

command module
v0.0.0-...-2acad23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: MIT Imports: 14 Imported by: 0

README

Example

An example program to get readme file for a repository using google/go-github.

Example Usage

To obtain README from a private repository accessible to installation,

go run example.go \
    -app-id <app-id> \
    -private-key private-key.pem \
    -repo {owner}/{repo}

Should return something like,

gh-integration-tests/go-githubapp-repo-one README:

# About This Repository

This repository is used for integration tests for [github.com/tprasadtp/go-githubapp].

[github.com/tprasadtp/go-githubapp]: https://github.com/tprasadtp/go-githubapp

Documentation

Overview

This is an example CLI which fetches README for a repository using app credentials and github.com/google/go-github/v61/github. This is meant as an example and is not covered by semver compatibility guarantees.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL