internal

package
v0.0.0-...-b181b22 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAutorsByCommits

func GetAutorsByCommits(n int)

func GetRepositoriesByCommits

func GetRepositoriesByCommits(n int)

func GetRepositoriesByWatchEvents

func GetRepositoriesByWatchEvents(n int)

Types

type Actor

type Actor struct {
	ID       int64
	Username string
}

func (*Actor) Unmarshal

func (a *Actor) Unmarshal(row []string) error

type Commit

type Commit struct {
	Sha     string
	Message string
	EventId int64
}

func (*Commit) Unmarshal

func (c *Commit) Unmarshal(row []string) error

type Counter

type Counter struct {
	ID    int64
	Count int
}

type Event

type Event struct {
	ID      int64
	Type    string
	ActorId int64
	RepoId  int64
}

func (*Event) Unmarshal

func (e *Event) Unmarshal(row []string) error

type Reader

type Reader struct {
	Filename string
	Channel  chan []string
}

func NewReader

func NewReader(filename string, channel chan []string) *Reader

func (*Reader) ReadCsvToChannel

func (r *Reader) ReadCsvToChannel()

type Repository

type Repository struct {
	ID   int64
	Name string
}

func (*Repository) Unmarshal

func (r *Repository) Unmarshal(row []string) error

Jump to

Keyboard shortcuts

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