card

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

This is an auto generated file. Do not edit this file manually.

Index

Constants

This section is empty.

Variables

View Source
var LanguageToColor = map[string]string{}/* 637 elements not displayed */

LanguageToColor is a map of GitHub languages to their respective colors.

Functions

func GenerateSVG

func GenerateSVG(repository *github.Repository, nCommits int, option Option) (string, error)

Types

type Card

type Card struct {
	Width       int
	Height      int
	RepoURL     string
	RepoName    string
	Description []string
	Color       string
	Language    string
	Stars       string
	Forks       string
	Commits     string
}

type Option

type Option struct {
	UsesFullName   bool
	DisplayCommits bool
}

Jump to

Keyboard shortcuts

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