package
0.19.0
Repository: https://github.com/hashicorp/copywrite.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DiscoverRepo attempts to find if the current directory is related to a GitHub repo and, if so, what the organization name and repo name are This function will return an error if more than one GitHub repos are associated with the given folder.
GetRepoCreationYear takes in a repo and uses the GitHub API to determine the year it was created.
NewGHClient uses the copyright Github App for client requests.

# Structs

GHClient is a wrapper to access Github Client's API endpoints easily.
GHClientConfig is the configuration portion of the GH client (mostly for GH App).
GHRepo is a repo.