Documentation ¶
Index ¶
- func IndexOf(lexeme string) int
- func Normalize(number string) string
- func Valid(number string) bool
- type Country
- type Region
- type VIN
- func (vin VIN) AssemblyPlant() rune
- func (vin VIN) Check() bool
- func (vin VIN) Country() string
- func (vin VIN) Manufacturer(store store.Store) string
- func (vin VIN) ModelYear() rune
- func (vin VIN) Region() Region
- func (vin VIN) SerialNumber() string
- func (vin *VIN) String() string
- func (vin *VIN) VDS() string
- func (vin *VIN) VIS() string
- func (vin VIN) Valid() bool
- func (vin *VIN) WMI() string
- func (vin VIN) Year() *uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VIN ¶
type VIN struct {
// contains filtered or unexported fields
}
func (VIN) AssemblyPlant ¶
Extract the single-character assembly plant designator from the [number].
func (VIN) SerialNumber ¶
Extract the serial number from the [number].
Click to show internal directories.
Click to hide internal directories.