Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRates = NewRates("Netherlands", 21.0, true)
DefaultRates defines the rates for a business located in the Netherlands.
View Source
var (
ErrNumberTooShort = errors.Code("invalid_number_too_short").StatusError("number is too short", http.StatusBadRequest)
)
Errors
Functions ¶
func IsErrInvalidNumber ¶
IsErrInvalidNumber returns true when a given error is of type invalid_number. TODO: make this work nicely.
Types ¶
Click to show internal directories.
Click to hide internal directories.