lawn

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 9 Imported by: 0

README

lawn

Go Reference test-and-build

GitHub Contributions Graph scraper.

Features

  • Provide svg image of your GitHub Contributions Graph.
  • Support Google Cloud Run and other container services.

Usage as library

go get github.com/ww24/lawn

Configurations

  • Set your GitHub Username as GITHUB_USERNAME.

Use by Firebase Hosting

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents GitHub contributions graph scraper client.

func NewClient

func NewClient() *Client

NewClient returns a new client.

func (*Client) Fetch

func (c *Client) Fetch(ctx context.Context, w io.Writer, username string) error

Fetch fetches github contributions graph svg.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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