gh

package
v0.0.0-...-87a6b58 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth() *github.Client

Authenticate with GitHub using the secret ssh key Return a github client instance

func LoadPrivateKey

func LoadPrivateKey() []byte

func UpdateREADME

func UpdateREADME(content string, project db.Project)

Push a new commit updating the README

Types

type RepoMetaData

type RepoMetaData struct {
	Language    string
	Description string
	Valid       bool
}

func RepoInfo

func RepoInfo(client *github.Client, owner string, name string) RepoMetaData

Get information to match up with project fields

Jump to

Keyboard shortcuts

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