services

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateProfile

func GenerateProfile(username string) ([]Profile, []PrRepository)

func Translate

func Translate(text string) string

Types

type PrRepository

type PrRepository struct {
	Name    string
	Url     string
	State   string
	Created string
	Count   int
}

func (PrRepository) CountUrl

func (p PrRepository) CountUrl(username string) string

func (PrRepository) FullName

func (p PrRepository) FullName() string

type Profile

type Profile struct {
	Name        string
	HTMLUrl     string
	Description string
	Stars       int
	Forks       int
	Create      string
	Update      string
	Language    string
}

func (Profile) FullName

func (p Profile) FullName() string

Jump to

Keyboard shortcuts

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