helpers

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 29, 2017 License: BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CardURL

func CardURL(cardID interface{}) string

CardHref returns the resource href.

func CategoryURL

func CategoryURL(categoryUUID interface{}) string

func DecodeUUID

func DecodeUUID(uuid string) ([]byte, error)

func EncodeUUID

func EncodeUUID(uuid []byte) string

func FactionURL

func FactionURL(factionID interface{}) string

FactionHref returns the resource href.

func GeneratePrevNextPageHref

func GeneratePrevNextPageHref(count int, limit int, offset int, href string) (*string, *string)

func GroupURL

func GroupURL(groupID interface{}) string

GroupHref returns the resource href.

func MediaURL

func MediaURL(filename interface{}) string

TypeHref returns the resource href.

func RarityURL

func RarityURL(rarityID interface{}) string

RarityHref returns the resource href.

func SwaggerURL

func SwaggerURL() string

func ValidateLimitOffset

func ValidateLimitOffset(count int, limit int, offset int) (int, int)

func VariationURL

func VariationURL(cardID interface{}, variationID interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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