handlers

package
v0.0.0-...-a0462ff Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TOKEN string = "GITHUB_TOKEN"

Variables

This section is empty.

Functions

func GetFileFromRepository

func GetFileFromRepository(ghToken string, repository *entities.Repository, filePath string) (content string, err *entities.Error)

func GetNewClientFromToken

func GetNewClientFromToken(ghToken string) *github.Client

func GetRepositories

func GetRepositories(ghToken string) (repositories []*entities.Repository, err *entities.Error)

GetRepositories Retrieves all the repos from a token

Types

This section is empty.

Jump to

Keyboard shortcuts

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