gopherize

package
v0.0.0-...-89ec901 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeImage

func ComposeImage(input []string) (url string, err error)

ComposeImage gets the image URL of a set of images

func GetAllCategories

func GetAllCategories() (categories []gopherizeme.Category, err error)

GetAllCategories gives back all categories with their images

func GetImageURL

func GetImageURL(gopherURL string) (url string, err error)

GetImageURL gets the image URL of your gopher!

func MapAllCategories

func MapAllCategories() (categories map[string]gopherizeme.Category, err error)

Types

type Gopher

type Gopher struct {
	// contains filtered or unexported fields
}

Gopher is the gopher image to be generated

func NewGopher

func NewGopher() Gopher

NewGopher gives a new gopher

func (*Gopher) GetImageURL

func (g *Gopher) GetImageURL() (string, error)

func (*Gopher) SetImage

func (g *Gopher) SetImage(id string)

Jump to

Keyboard shortcuts

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