Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatPhoneNumber ¶ added in v0.1.16
FormatPhoneNumber formats a phone number using the nyaruka/phonenumbers library. If country code is provided, it will be used for parsing; otherwise, US is used as default region. Returns the formatted phone number in E.164 format, or the original phone if formatting fails.
func InAnySlice ¶
func InAnySlice[T comparable](haystack []T, needle T) bool
func RemoveDuplicates ¶
func RemoveDuplicates[T comparable](haystack []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.