Versions in this module Expand all Collapse all v0 v0.1.0 Feb 23, 2018 Changes in this version + const EmailScheme + const ExternalScheme + const FCMScheme + const FacebookRefPrefix + const FacebookScheme + const JiochatScheme + const LineScheme + const TelScheme + const TelegramScheme + const TwitterIDScheme + const TwitterScheme + const ViberScheme + const WhatsAppScheme + var NilURN = URN("") + var ValidSchemes = map[string]bool + func IsValidScheme(scheme string) bool + type URN string + func NewFacebookURN(identifier string) (URN, error) + func NewFirebaseURN(identifier string) URN + func NewTelURNForCountry(number string, country string) URN + func NewTelegramURN(identifier int64, display string) URN + func NewURNFromParts(scheme string, path string, display string) URN + func NewWhatsAppURN(identifier string) (URN, error) + func (u URN) Default() interface{} + func (u URN) Display() string + func (u URN) FacebookRef() string + func (u URN) Format() string + func (u URN) Identity() string + func (u URN) IsFacebookRef() bool + func (u URN) Localize(country string) URN + func (u URN) Normalize(country string) URN + func (u URN) Path() string + func (u URN) Resolve(key string) interface{} + func (u URN) Scheme() string + func (u URN) String() string + func (u URN) ToParts() (string, string, string) + func (u URN) Validate() bool Other modules containing this package github.com/nyaruka/gocommon