avatar

package
v0.0.0-...-3779236 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchGravatarURL

func FetchGravatarURL(parent context.Context, email string) (string, error)

func GetIdenticon

func GetIdenticon(identity string) ([]byte, error)

GetIdenticon generates an avatar with the standard size.

func GetIdenticonWithSize

func GetIdenticonWithSize(identity string, size int) ([]byte, error)

GetIdenticonWithSize generates and returns an avatar icon unique to an identity eg. user's email or username.

Types

This section is empty.

Jump to

Keyboard shortcuts

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