src

package
v0.0.0-...-38068a1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Link(title, url string) string

func SpaceCleaner

func SpaceCleaner(str string) string

func TableHeader

func TableHeader() string

func TableRow

func TableRow(repo *Repo) string

func Title

func Title(title string) string

Types

type AwesomeRepository

type AwesomeRepository struct {
	URL     string
	Github  *github.Client
	Context context.Context
}

func (*AwesomeRepository) FetchingRepo

func (m *AwesomeRepository) FetchingRepo(category Category)

func (*AwesomeRepository) Run

func (m *AwesomeRepository) Run()

type AwesomeRepositoryInterface

type AwesomeRepositoryInterface interface {
	Run()
	FetchingRepo(category Category)
}

func NewAwesomeRepository

func NewAwesomeRepository() AwesomeRepositoryInterface

type Category

type Category struct {
	Title string
	Url   string
	Hash  string
}

type Repo

type Repo struct {
	Title           string
	Description     string
	Url             string
	StargazersCount int
}

type Repositories

type Repositories struct {
	Title  string
	Blocks []*Repo
}

Jump to

Keyboard shortcuts

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