gitrepos

package
v0.0.0-...-dcc6434 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LicenseCheckResult

type LicenseCheckResult struct {
	GitHubRepo        string
	Lang              string
	Dependency        string
	DependencyLicense string
}

LicenseCheckResult contains the information needed to generate the output we desire.

type LicenseCheckResults

type LicenseCheckResults []LicenseCheckResult

List of licensechecks

type Repo

type Repo struct {
	Org  string
	Name string
	Lang string
}

A github repo

type Repos

type Repos []Repo

type declarations

type Repository

type Repository interface {
	GetRepos(string) (Repos, error)
}

interface for the core to save

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service is a struct to execute methods

func NewService

func NewService(ro Repository) *Service

return the repository service

func (*Service) ListRepos

func (service *Service) ListRepos(org string) (Repos, error)

generic algorithm for check to get the results and save them

Jump to

Keyboard shortcuts

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