github_squares

package module
v0.0.0-...-e22f5ca Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2015 License: MIT Imports: 6 Imported by: 0

README

github_squares

Code for getting GitHub commit streak squares

Example

package main

import (
	. "github.com/ami-GS/github_squares"
)

func main() {
	ShowSquare()
}

Usage

go run ./example/show_github_squares.go USERNAME

Result

alt tag

TODO

  • Retry when scraping failed
License

The MIT License (MIT) Copyright (c) 2015 ami-GS

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Changer *soac.Changer

Functions

func ShowSquare

func ShowSquare()

Types

type Contributions

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

func NewContributions

func NewContributions(userID string) *Contributions

func (Contributions) Get

func (self Contributions) Get(row, column int) *Rect

func (Contributions) GetString

func (self Contributions) GetString(symbol string) (ans string)

type Month

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

func (Month) Initial

func (self Month) Initial() string

type NumInfo

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

func NewNumInfo

func NewNumInfo(infoStr string) *NumInfo

func (NumInfo) String

func (self NumInfo) String() string

type Rect

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

func NewRect

func NewRect(color string, count byte, date string) *Rect

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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