style

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPalette

func GetPalette(hex string) []string

getPalette maes a complementary color palette. https://play.golang.org/p/nBXLUocGsU5

func GetSRV

func GetSRV(ctx context.Context, email string) (avatar string, style string, err error)

Types

type Key

type Key string

func (Key) Key

func (s Key) Key() interface{}

type Style

type Style struct {
	Avatar,
	Cover,
	Background string

	Palette []string
}

func GetStyle

func GetStyle(ctx context.Context, email string) (*Style, error)

Jump to

Keyboard shortcuts

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