helper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ASINReg, _ = regexp.Compile("[A-Za-z0-9]{10}")
View Source
var CartItemIdReg, _ = regexp.Compile("[A-Za-z0-9]{14}")
View Source
var NumericReg, _ = regexp.Compile("[0-9]+")

Functions

func FormatRating

func FormatRating(rating float64) string

func IsASIN

func IsASIN(str string) bool

func IsCartItemId

func IsCartItemId(str string) bool

func IsNumeric

func IsNumeric(str string) bool

func Rating

func Rating(asin string, locale string) (float64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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