thank

package
v0.0.0-...-17add77 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package thank thanks (usually by starring) repositories providing Go packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Thank

func Thank(ts []Thanker, repos []discover.Repository) (int, error)

Thank thanks to all the repositories and their owners using one of the passed in thankers, usually by starring the repositories.

Types

type Thanker

type Thanker interface {
	Auth() error
	CanThank(discover.Repository) bool
	Thank(discover.Repository) error
}

Thanker abstracts away a mean of thanking for a Go OSS contribution, usually by starring a repository.

func AuthThankers

func AuthThankers(ts []Thanker) ([]Thanker, error)

AuthThankers produces a list of verified and authenticated thankers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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