Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadString = errors.New("extended characters present") ErrNoServices = errors.New("no tracking services loaded") )
Functions ¶
Types ¶
type Tracking ¶
type Tracking struct { // Always returned Courier string Service string TrackingNumber string SerialNumber string // Always populated if used CheckDigit string TrackingURL string // Extra details that may be encoded into the tracking number. Details map[string]string }
Tracking contains results extracted from a valid tracking number.
Click to show internal directories.
Click to hide internal directories.