features

package
v0.0.0-...-d3c47bb Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2015 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Overview

Package features provides various features implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAverageForks

func NewAverageForks(name string, db *sql.DB) (*averageForks, error)

NewAverageForks creates a new average forks feature.

func NewAverageStars

func NewAverageStars(name string, db *sql.DB) (*averageStars, error)

NewAverageStars creates a new average stars feature.

func NewCommitsCount

func NewCommitsCount(name string, db *sql.DB) (*commitsCount, error)

NewCommitsCount creates a new commits count feature.

func NewContributionsCount

func NewContributionsCount(name string, db *sql.DB) (*contributionsCount, error)

NewContributionsCount creates a new contributions count feature.

func NewFollowersCount

func NewFollowersCount(name string, db *sql.DB) (*followersCount, error)

NewFollowersCount creates a new followers count feature.

func NewHireable

func NewHireable(name string, db *sql.DB) (*hireable, error)

NewHireable creates a new hireable feature.

Types

type Feature

type Feature interface {
	// Score computes the scores of a feature.
	Score() error

	// Name returns the name of a feature.
	Name() string
}

Feature interface must be implemented by all features.

Jump to

Keyboard shortcuts

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