Documentation
¶
Index ¶
Constants ¶
View Source
const ( AddressNone = C.LIBPOSTAL_ADDRESS_NONE AddressAny = C.LIBPOSTAL_ADDRESS_ANY AddressName = C.LIBPOSTAL_ADDRESS_NAME AddressHouseNumber = C.LIBPOSTAL_ADDRESS_HOUSE_NUMBER AddressStreet = C.LIBPOSTAL_ADDRESS_STREET AddressUnit = C.LIBPOSTAL_ADDRESS_UNIT AddressLevel = C.LIBPOSTAL_ADDRESS_LEVEL AddressStaircase = C.LIBPOSTAL_ADDRESS_STAIRCASE AddressEntrance = C.LIBPOSTAL_ADDRESS_ENTRANCE AddressCategory = C.LIBPOSTAL_ADDRESS_CATEGORY AddressNear = C.LIBPOSTAL_ADDRESS_NEAR AddressToponym = C.LIBPOSTAL_ADDRESS_TOPONYM AddressPostalCode = C.LIBPOSTAL_ADDRESS_POSTAL_CODE AddressPoBox = C.LIBPOSTAL_ADDRESS_PO_BOX AddressAll = C.LIBPOSTAL_ADDRESS_ALL )
Variables ¶
This section is empty.
Functions ¶
func ExpandAddress ¶
func ExpandAddressOptions ¶
func ExpandAddressOptions(address string, options ExpandOptions) []string
Types ¶
type ExpandOptions ¶
type ExpandOptions struct { Languages []string AddressComponents uint16 LatinAscii bool Transliterate bool StripAccents bool Decompose bool Lowercase bool TrimString bool ReplaceWordHyphens bool DeleteWordHyphens bool ReplaceNumericHyphens bool DeleteNumericHyphens bool SplitAlphaFromNumeric bool DeleteFinalPeriods bool DeleteAcronymPeriods bool DropEnglishPossessives bool DeleteApostrophes bool ExpandNumex bool RomanNumerals bool }
func GetDefaultExpansionOptions ¶
func GetDefaultExpansionOptions() ExpandOptions
Click to show internal directories.
Click to hide internal directories.