grass

package
v0.0.0-...-f298b08 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grass

type Grass struct {
	// contains filtered or unexported fields
}

Grass represents GitHub daily contributions information.

func Mow

func Mow(id string) ([]*Grass, error)

Mow scrape contributions information from GitHub.

func (*Grass) GetDay

func (g *Grass) GetDay() int

GetDay returns the day of the grassing date.

func (*Grass) GetMonth

func (g *Grass) GetMonth() int

GetMonth returns the month of the grassing date.

func (*Grass) Growth

func (g *Grass) Growth() int

Growth returns concentration of grass. (Less 0 1 2 3 4 More)

func (*Grass) String

func (g *Grass) String() string

Jump to

Keyboard shortcuts

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