function

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GStatic added in v0.0.12

func GStatic(id string) (output string)

GStatic returns the known gstatic image URL

func GetIDFromGHLink(link string) string

GetIDFromGHLink return the GitHub ID from a link

func GitHubEmojiLink(user string) (output string)

GitHubEmojiLink returns a Markdown style link or empty

func GitHubUsersLink(ids, sep string) (links string)

GitHubUsersLink parses a text and try to make the potential GitHub IDs be links

func GithubUserLink(id string, bio bool) (link string)

GithubUserLink makes a GitHub user link

func Link(text, link string) (output string)

Link returns a Markdown style link

func LinkOrEmpty added in v0.0.12

func LinkOrEmpty(text, link string) (output string)

LinkOrEmpty returns a Markdown style link or empty if the link is none

func PrintContributors

func PrintContributors(owner, repo string) (output string)

PrintContributors from a GitHub repository

func PrintUserAsTable added in v0.0.13

func PrintUserAsTable(id string) (result string)

PrintUserAsTable generates a table for a GitHub user

func TwitterLink(user string) (output string)

TwitterLink returns a Markdown style link of Twitter

func YouTubeLink(id string) (output string)

YouTubeLink returns a Markdown style link of YouTube

Types

This section is empty.

Jump to

Keyboard shortcuts

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