Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ASINReg, _ = regexp.Compile("[A-Za-z0-9]{10}")
ASINReg matches a ASIN
View Source
var CartItemIDReg, _ = regexp.Compile("[A-Za-z0-9]{14}")
CartItemIDReg matches a cart item ID
View Source
var NumericReg, _ = regexp.Compile("[0-9]+")
NumericReg matches a numeric string
Functions ¶
func FormatRating ¶
FormatRating formats a numeric rating to a string
func FormatText ¶ added in v0.1.2
FormatText prints pretty text
func IsCartItemID ¶ added in v0.1.2
IsCartItemID checks wether str is a cart item ID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.