package
0.0.0-20250115014547-cb81800ed961
Repository: https://github.com/opensourceways/message-collect.git
Documentation: pkg.go.dev

# Functions

AnonymizeEmail Anonymized email information.
No description provided by the author
DateAndTime returns a pair of strings representing the date and time for the given Unix timestamp.
No description provided by the author
Expiry calculates the expiration Unix timestamp by adding the given duration in seconds to the current time.
ExtractDomain extract hostname in URL.
LoadFromYaml reads a YAML file from the given path and unmarshals it into the provided interface.
Now returns the current Unix timestamp as an int64.
StrLen returns the length of a string in terms of runes (UTF-8 characters).
Time returns the current time formatted according to the timeLayout variable.
ToDate converts the given Unix timestamp to a date string formatted according to the layout variable.