filter

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistinctRepository added in v1.0.1

func DistinctRepository(repos []trending.Repository) []trending.Repository

DistinctRepository by repository name

Types

type Filter

type Filter struct {
	Time clockwork.Clock
	Path string
}

Filter is filter for repository

func (*Filter) OnlyNewComer

func (f *Filter) OnlyNewComer(repos []trending.Repository) []trending.Repository

OnlyNewComer filter only new comer(user never see)

Jump to

Keyboard shortcuts

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