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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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